Closed apstndb closed 2 weeks ago
This PR splits StructLiteral into three new Expr nodes:
StructLiteral
Expr
TupleStructLiteral
(expr1, expr2 [, ... ])
TypelessStructLiteral
STRUCT( expr1 [AS field_name] [, ... ])
TypedStructLiteral
STRUCT<[field_name] field_type, ...>( expr1 [, ... ])
This PR will be ready after Pos()/End() are fixed. fixes #143
Pos()
End()
This PR splits
StructLiteral
into three newExpr
nodes:TupleStructLiteral
(expr1, expr2 [, ... ])
TypelessStructLiteral
STRUCT( expr1 [AS field_name] [, ... ])
TypedStructLiteral
STRUCT<[field_name] field_type, ...>( expr1 [, ... ])
This PR will be ready after
Pos()
/End()
are fixed. fixes #143