commit
2ed19c08cc
12 changed files with 397 additions and 135 deletions
|
@ -1,5 +1,10 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 6.0.1
|
||||||
|
|
||||||
|
* Updated `jael3`
|
||||||
|
* Updated `jael_preprocessor`
|
||||||
|
|
||||||
## 6.0.0
|
## 6.0.0
|
||||||
|
|
||||||
* Updated to SDK 2.16.x
|
* Updated to SDK 2.16.x
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel3_jael
|
name: angel3_jael
|
||||||
version: 6.0.0
|
version: 6.0.1
|
||||||
description: Angel support for the Jael templating engine, similar to Blade or Liquid.
|
description: Angel support for the Jael templating engine, similar to Blade or Liquid.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/angel_jael
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/angel_jael
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 6.0.1
|
||||||
|
|
||||||
|
* Fixed analyze errors
|
||||||
|
|
||||||
## 6.0.0
|
## 6.0.0
|
||||||
|
|
||||||
* Updated to SDK 2.16.x
|
* Updated to SDK 2.16.x
|
||||||
|
|
|
@ -13,7 +13,8 @@ class MapLiteral extends Literal {
|
||||||
@override
|
@override
|
||||||
Map compute(scope) {
|
Map compute(scope) {
|
||||||
return pairs.fold<Map>({}, (out, p) {
|
return pairs.fold<Map>({}, (out, p) {
|
||||||
var key, value;
|
dynamic key;
|
||||||
|
dynamic value;
|
||||||
|
|
||||||
if (p.colon == null) {
|
if (p.colon == null) {
|
||||||
if (p.key is! Identifier) {
|
if (p.key is! Identifier) {
|
||||||
|
|
|
@ -2,8 +2,6 @@ import 'package:charcode/charcode.dart';
|
||||||
import 'package:source_span/source_span.dart';
|
import 'package:source_span/source_span.dart';
|
||||||
import 'package:belatuk_symbol_table/belatuk_symbol_table.dart';
|
import 'package:belatuk_symbol_table/belatuk_symbol_table.dart';
|
||||||
import '../ast/ast.dart';
|
import '../ast/ast.dart';
|
||||||
import 'expression.dart';
|
|
||||||
import 'token.dart';
|
|
||||||
|
|
||||||
class StringLiteral extends Literal {
|
class StringLiteral extends Literal {
|
||||||
final Token string;
|
final Token string;
|
||||||
|
|
|
@ -49,7 +49,7 @@ enum TokenType {
|
||||||
plus,
|
plus,
|
||||||
minus,
|
minus,
|
||||||
elvis,
|
elvis,
|
||||||
elvis_dot,
|
elvisDot,
|
||||||
lte,
|
lte,
|
||||||
gte,
|
gte,
|
||||||
equ,
|
equ,
|
||||||
|
|
|
@ -2,7 +2,7 @@ part of jael.src.text.parselet;
|
||||||
|
|
||||||
const Map<TokenType, InfixParselet> infixParselets = {
|
const Map<TokenType, InfixParselet> infixParselets = {
|
||||||
TokenType.lParen: CallParselet(),
|
TokenType.lParen: CallParselet(),
|
||||||
TokenType.elvis_dot: MemberParselet(),
|
TokenType.elvisDot: MemberParselet(),
|
||||||
TokenType.dot: MemberParselet(),
|
TokenType.dot: MemberParselet(),
|
||||||
TokenType.lBracket: IndexerParselet(),
|
TokenType.lBracket: IndexerParselet(),
|
||||||
TokenType.asterisk: BinaryParselet(14),
|
TokenType.asterisk: BinaryParselet(14),
|
||||||
|
|
|
@ -54,7 +54,7 @@ final Map<Pattern, TokenType> _expressionPatterns = {
|
||||||
',': TokenType.comma,
|
',': TokenType.comma,
|
||||||
'.': TokenType.dot,
|
'.': TokenType.dot,
|
||||||
'??': TokenType.elvis,
|
'??': TokenType.elvis,
|
||||||
'?.': TokenType.elvis_dot,
|
'?.': TokenType.elvisDot,
|
||||||
//'=': TokenType.equals,
|
//'=': TokenType.equals,
|
||||||
'!': TokenType.exclamation,
|
'!': TokenType.exclamation,
|
||||||
'-': TokenType.minus,
|
'-': TokenType.minus,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: jael3
|
name: jael3
|
||||||
version: 6.0.0
|
version: 6.0.1
|
||||||
description: A simple server-side HTML templating engine for Dart. Comparable to Blade or Liquid.
|
description: A simple server-side HTML templating engine for Dart. Comparable to Blade or Liquid.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 6.0.1
|
||||||
|
|
||||||
|
* Fixed `jael3` version
|
||||||
|
|
||||||
## 6.0.0
|
## 6.0.0
|
||||||
|
|
||||||
* Updated to SDK 2.16.x
|
* Updated to SDK 2.16.x
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: jael3_preprocessor
|
name: jael3_preprocessor
|
||||||
version: 6.0.0
|
version: 6.0.1
|
||||||
description: A pre-processor for resolving blocks and includes within Jael templates.
|
description: A pre-processor for resolving blocks and includes within Jael templates.
|
||||||
homepage: https://angel3-framework.web.app/
|
homepage: https://angel3-framework.web.app/
|
||||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael_preprocessor
|
repository: https://github.com/dukefirehawk/angel/tree/master/packages/jael/jael_preprocessor
|
||||||
|
@ -7,7 +7,7 @@ environment:
|
||||||
sdk: '>=2.16.0 <3.0.0'
|
sdk: '>=2.16.0 <3.0.0'
|
||||||
dependencies:
|
dependencies:
|
||||||
file: ^6.1.0
|
file: ^6.1.0
|
||||||
jael3: ^5.0.0
|
jael3: ^6.0.0
|
||||||
belatuk_symbol_table: ^3.0.0
|
belatuk_symbol_table: ^3.0.0
|
||||||
collection: ^1.15.0
|
collection: ^1.15.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue