JS: Parse mustache-style tags as expressions

This commit is contained in:
Asger Feldthaus
2021-07-17 14:00:55 +02:00
parent d1c31db06f
commit a7cdf532fa
15 changed files with 867 additions and 4 deletions

View File

@@ -366,6 +366,7 @@ case @expr.kind of
| 117 = @assignlogorexpr
| 118 = @assignnullishcoalescingexpr
| 119 = @angular_pipe_ref
| 120 = @generated_code_expr
;
@varaccess = @proper_varaccess | @export_varaccess;
@@ -416,6 +417,13 @@ case @expr.kind of
@e4x_xml_attribute_selector = @e4x_xml_static_attribute_selector | @e4x_xml_dynamic_attribute_selector;
@e4x_xml_qualident = @e4x_xml_static_qualident | @e4x_xml_dynamic_qualident;
generated_code_expr_info(
unique int expr: @generated_code_expr ref,
varchar(900) openingDelimiter: string ref,
varchar(900) closingDelimiter: string ref,
varchar(900) body: string ref
);
// scopes
scopes (unique int id: @scope,
int kind: int ref);