1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 08:25:19 +03:00

Update tests

This commit is contained in:
joshvera 2017-03-28 13:25:46 -04:00
parent 01a8087b0a
commit 41915ff44a
96 changed files with 477 additions and 539 deletions

View File

@ -29,6 +29,7 @@ termAssignment _ category children =
(Ternary, condition : cases) -> Just $ S.Ternary condition cases (Ternary, condition : cases) -> Just $ S.Ternary condition cases
(Other "variable_declaration", _) -> Just . S.Indexed $ toVarDeclOrAssignment <$> children (Other "variable_declaration", _) -> Just . S.Indexed $ toVarDeclOrAssignment <$> children
(Other "trailing_variable_declaration", _) -> Just . S.Indexed $ toVarDeclOrAssignment <$> children (Other "trailing_variable_declaration", _) -> Just . S.Indexed $ toVarDeclOrAssignment <$> children
(Other "lexical_declaration", _) -> Just . S.Indexed $ toVarDeclOrAssignment <$> children
(VarAssignment, [id, assignment]) -> Just $ S.VarAssignment [id] assignment (VarAssignment, [id, assignment]) -> Just $ S.VarAssignment [id] assignment
(FieldDecl, _) -> Just $ S.FieldDecl children (FieldDecl, _) -> Just $ S.FieldDecl children
(Object, _) -> Just . S.Object Nothing $ foldMap toTuple children (Object, _) -> Just . S.Object Nothing $ foldMap toTuple children

View File

@ -8,5 +8,6 @@
(Identifier) (Identifier)
(StructTy (StructTy
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier)))))))+} (Identifier)))))))+}

View File

@ -8,5 +8,6 @@
(Identifier) (Identifier)
(StructTy (StructTy
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier)))))))-} (Identifier)))))))-}

View File

@ -7,11 +7,9 @@
(TypeDecl (TypeDecl
(Identifier) (Identifier)
(StructTy (StructTy
{ (FieldDecl (FieldDecl
(Identifier)
(Identifier))
->(FieldDecl
(Other "identifier_list" (Other "identifier_list"
(Identifier) { (Identifier)
(Identifier)) ->(Identifier) }
(Identifier)) }))))) {+(Identifier)+})
(Identifier)))))))

View File

@ -7,11 +7,9 @@
(TypeDecl (TypeDecl
(Identifier) (Identifier)
(StructTy (StructTy
{ (FieldDecl (FieldDecl
(Other "identifier_list" (Other "identifier_list"
(Identifier) { (Identifier)
(Identifier)) ->(Identifier) }
(Identifier)) {-(Identifier)-})
->(FieldDecl (Identifier)))))))
(Identifier)
(Identifier)) })))))

View File

@ -8,5 +8,6 @@
(Identifier) (Identifier)
(StructTy (StructTy
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier))))))) (Identifier)))))))

View File

@ -24,7 +24,8 @@
(Other "composite_literal" (Other "composite_literal"
(StructTy (StructTy
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier))) (Identifier)))
(Pair (Pair
(Identifier) (Identifier)

View File

@ -24,7 +24,8 @@
(Other "composite_literal" (Other "composite_literal"
(StructTy (StructTy
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier))) (Identifier)))
(Pair (Pair
(Identifier) (Identifier)

View File

@ -24,7 +24,8 @@
(Other "composite_literal" (Other "composite_literal"
(StructTy (StructTy
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier))) (Identifier)))
(Pair (Pair
(Identifier) (Identifier)

View File

@ -24,7 +24,8 @@
(Other "composite_literal" (Other "composite_literal"
(StructTy (StructTy
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier))) (Identifier)))
(Pair (Pair
(Identifier) (Identifier)

View File

@ -25,7 +25,8 @@
(Other "composite_literal" (Other "composite_literal"
(StructTy (StructTy
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
{ (Identifier) { (Identifier)
->(Identifier) })) ->(Identifier) }))
(Pair (Pair

View File

@ -25,7 +25,8 @@
(Other "composite_literal" (Other "composite_literal"
(StructTy (StructTy
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
{ (Identifier) { (Identifier)
->(Identifier) })) ->(Identifier) }))
(Pair (Pair

View File

@ -24,7 +24,8 @@
(Other "composite_literal" (Other "composite_literal"
(StructTy (StructTy
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier))) (Identifier)))
(Pair (Pair
(Identifier) (Identifier)

View File

@ -24,7 +24,8 @@
(Other "composite_literal" (Other "composite_literal"
(StructTy (StructTy
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier))) (Identifier)))
(Pair (Pair
(Identifier) (Identifier)

View File

@ -29,6 +29,7 @@
(FieldDecl (FieldDecl
(QualifiedIdentifier)) (QualifiedIdentifier))
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier) (Identifier)
(StringLiteral)))))))+} (StringLiteral)))))))+}

View File

@ -29,6 +29,7 @@
(FieldDecl (FieldDecl
(QualifiedIdentifier)) (QualifiedIdentifier))
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier) (Identifier)
(StringLiteral)))))))+} (StringLiteral)))))))+}

View File

@ -29,6 +29,7 @@
(FieldDecl (FieldDecl
(QualifiedIdentifier)) (QualifiedIdentifier))
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier) (Identifier)
(StringLiteral)))))))-} (StringLiteral)))))))-}

View File

@ -29,6 +29,7 @@
(FieldDecl (FieldDecl
(QualifiedIdentifier)) (QualifiedIdentifier))
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier) (Identifier)
(StringLiteral)))))))-} (StringLiteral)))))))-}

View File

@ -33,6 +33,7 @@
(FieldDecl (FieldDecl
(QualifiedIdentifier)) (QualifiedIdentifier))
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier) (Identifier)
(StringLiteral))))))) (StringLiteral)))))))

View File

@ -33,6 +33,7 @@
(FieldDecl (FieldDecl
(QualifiedIdentifier)) (QualifiedIdentifier))
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier) (Identifier)
(StringLiteral))))))) (StringLiteral)))))))

View File

@ -29,6 +29,7 @@
(FieldDecl (FieldDecl
(QualifiedIdentifier)) (QualifiedIdentifier))
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier) (Identifier)
(StringLiteral))))))) (StringLiteral)))))))

View File

@ -29,6 +29,7 @@
(FieldDecl (FieldDecl
(QualifiedIdentifier)) (QualifiedIdentifier))
(FieldDecl (FieldDecl
(Identifier) (Other "identifier_list"
(Identifier))
(Identifier) (Identifier)
(StringLiteral))))))) (StringLiteral)))))))

View File

@ -19,14 +19,11 @@
(Identifier))) (Identifier)))
(Export (Export
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))
(Identifier))))
(Export (Export
(VarAssignment (VarAssignment
(Identifier) (Identifier)
@ -35,11 +32,9 @@
(Identifier) (Identifier)
(Identifier)) (Identifier))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))
(Identifier))))
(Export (Export
(Identifier)) (Identifier))
(Export (Export

View File

@ -19,14 +19,11 @@
(Identifier))) (Identifier)))
(Export (Export
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))
(Identifier))))
(Export (Export
(VarAssignment (VarAssignment
(Identifier) (Identifier)
@ -35,11 +32,9 @@
(Identifier) (Identifier)
(Identifier)) (Identifier))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))
(Identifier))))
(Export (Export
(Identifier)) (Identifier))
(Export (Export

View File

@ -19,14 +19,11 @@
(Identifier))) (Identifier)))
(Export (Export
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))
(Identifier))))
(Export (Export
(VarAssignment (VarAssignment
(Identifier) (Identifier)
@ -35,11 +32,9 @@
(Identifier) (Identifier)
(Identifier)) (Identifier))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))
(Identifier))))
(Export (Export
(Identifier)) (Identifier))
(Export (Export

View File

@ -19,14 +19,11 @@
(Identifier))) (Identifier)))
(Export (Export
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))
(Identifier))))
(Export (Export
(VarAssignment (VarAssignment
(Identifier) (Identifier)
@ -35,11 +32,9 @@
(Identifier) (Identifier)
(Identifier)) (Identifier))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))
(Identifier))))
(Export (Export
(Identifier)) (Identifier))
(Export (Export

View File

@ -23,14 +23,11 @@
(Identifier)))+} (Identifier)))+}
{+(Export {+(Export
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))+}
(Identifier))))+}
{+(Export {+(Export
(VarAssignment (VarAssignment
(Identifier) (Identifier)
@ -39,11 +36,9 @@
(Identifier) (Identifier)
(Identifier)) (Identifier))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))+}
(Identifier))))+}
{+(Export {+(Export
(Identifier))+} (Identifier))+}
{+(Export {+(Export
@ -72,28 +67,23 @@
(Other "export_specifier" (Other "export_specifier"
{ (Identifier) { (Identifier)
->(Identifier) })) ->(Identifier) }))
(Export {+(Export
{ +(StringLiteral)+ } (StringLiteral)
{(VarDecl
(Other "variable_declarator"
(Identifier)))
->
(Other "export_specifier" (Other "export_specifier"
(Identifier) (Identifier)
(Identifier))} (Identifier))
{(VarDecl
(Other "variable_declarator"
(Identifier)))
->
(Other "export_specifier" (Other "export_specifier"
(Identifier) (Identifier)
(Identifier))} (Identifier))
{(VarDecl
(Other "variable_declarator"
(Identifier)))
->
(Other "export_specifier" (Other "export_specifier"
(Identifier))} ) (Identifier)))+}
{-(Export
(VarDecl
(Identifier))
(VarDecl
(Identifier))
(VarDecl
(Identifier)))-}
{-(Export {-(Export
(VarAssignment (VarAssignment
(Identifier) (Identifier)
@ -102,11 +92,9 @@
(Identifier) (Identifier)
(Identifier)) (Identifier))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))-}
(Identifier))))-}
{-(Export {-(Export
(Identifier))-} (Identifier))-}
{-(Export {-(Export

View File

@ -23,14 +23,11 @@
(Identifier)))+} (Identifier)))+}
{+(Export {+(Export
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))+}
(Identifier))))+}
{+(Export {+(Export
(VarAssignment (VarAssignment
(Identifier) (Identifier)
@ -39,11 +36,9 @@
(Identifier) (Identifier)
(Identifier)) (Identifier))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))+}
(Identifier))))+}
{+(Export {+(Export
(Identifier))+} (Identifier))+}
{+(Export {+(Export
@ -84,14 +79,11 @@
(Identifier)))+} (Identifier)))+}
{-(Export {-(Export
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))-}
(Identifier))))-}
{-(Export {-(Export
(VarAssignment (VarAssignment
(Identifier) (Identifier)
@ -100,11 +92,9 @@
(Identifier) (Identifier)
(Identifier)) (Identifier))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))-}
(Identifier))))-}
{-(Export {-(Export
(Identifier))-} (Identifier))-}
{-(Export {-(Export

View File

@ -19,14 +19,11 @@
(Identifier))) (Identifier)))
(Export (Export
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))
(Identifier))))
(Export (Export
(VarAssignment (VarAssignment
(Identifier) (Identifier)
@ -35,11 +32,9 @@
(Identifier) (Identifier)
(Identifier)) (Identifier))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))
(Identifier))))
(Export (Export
(Identifier)) (Identifier))
(Export (Export

View File

@ -19,14 +19,11 @@
(Identifier))) (Identifier)))
(Export (Export
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))
(Identifier))))
(Export (Export
(VarAssignment (VarAssignment
(Identifier) (Identifier)
@ -35,11 +32,9 @@
(Identifier) (Identifier)
(Identifier)) (Identifier))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier)))
(Identifier))))
(Export (Export
(Identifier)) (Identifier))
(Export (Export

View File

@ -1,11 +1,9 @@
{+(Program {+(Program
(VarDecl (VarDecl
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarAssignment (VarAssignment
(Identifier) (Identifier)
(Object)) (Object))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))))+}
(Identifier)))))+}

View File

@ -1,11 +1,9 @@
{-(Program {-(Program
(VarDecl (VarDecl
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarAssignment (VarAssignment
(Identifier) (Identifier)
(Object)) (Object))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))))-}
(Identifier)))))-}

View File

@ -1,14 +1,12 @@
(Program (Program
(VarDecl (VarDecl
{+(VarDecl {+(VarDecl
(Other "variable_declarator" (Identifier))+}
(Identifier)))+}
{+(VarAssignment {+(VarAssignment
(Identifier) (Identifier)
(Object))+} (Object))+}
{+(VarDecl {+(VarDecl
(Other "variable_declarator" (Identifier))+}
(Identifier)))+}
{-(VarAssignment {-(VarAssignment
(Identifier) (Identifier)
(NumberLiteral))-})) (NumberLiteral))-}))

View File

@ -4,11 +4,9 @@
(Identifier) (Identifier)
(NumberLiteral))+} (NumberLiteral))+}
{-(VarDecl {-(VarDecl
(Other "variable_declarator" (Identifier))-}
(Identifier)))-}
{-(VarAssignment {-(VarAssignment
(Identifier) (Identifier)
(Object))-} (Object))-}
{-(VarDecl {-(VarDecl
(Other "variable_declarator" (Identifier))-}))
(Identifier)))-}))

View File

@ -1,11 +1,9 @@
(Program (Program
(VarDecl (VarDecl
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))
(Identifier)))
(VarAssignment (VarAssignment
(Identifier) (Identifier)
(Object)) (Object))
(VarDecl (VarDecl
(Other "variable_declarator" (Identifier))))
(Identifier)))))

View File

@ -2,7 +2,7 @@
(Other "ambient_declaration" (Other "ambient_declaration"
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Ty (Ty
(Other "type_reference" (Other "type_reference"
@ -39,7 +39,7 @@
(Ty (Ty
(Other "predefined_type")))) (Other "predefined_type"))))
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type")))) (Other "predefined_type"))))
@ -76,7 +76,7 @@
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type")))))) (Other "predefined_type"))))))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type"))) (Other "predefined_type")))

View File

@ -20,7 +20,7 @@
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type")))))) (Other "predefined_type"))))))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type"))) (Other "predefined_type")))

View File

@ -2,7 +2,7 @@
(Other "ambient_declaration" (Other "ambient_declaration"
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Ty (Ty
(Other "type_reference" (Other "type_reference"
@ -39,7 +39,7 @@
(Ty (Ty
(Other "predefined_type")))) (Other "predefined_type"))))
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type")))) (Other "predefined_type"))))
@ -76,7 +76,7 @@
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type")))))) (Other "predefined_type"))))))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type"))) (Other "predefined_type")))

View File

@ -20,7 +20,7 @@
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type")))))) (Other "predefined_type"))))))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type"))) (Other "predefined_type")))

View File

@ -11,7 +11,7 @@
(Other "object_type"))+} (Other "object_type"))+}
{-(Class {-(Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Ty (Ty
(Other "type_reference" (Other "type_reference"
@ -48,7 +48,7 @@
(Ty (Ty
(Other "predefined_type")))) (Other "predefined_type"))))
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type")))) (Other "predefined_type"))))
@ -85,7 +85,7 @@
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type")))))) (Other "predefined_type"))))))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type"))) (Other "predefined_type")))

View File

@ -2,7 +2,7 @@
{+(Other "ambient_declaration" {+(Other "ambient_declaration"
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Ty (Ty
(Other "type_reference" (Other "type_reference"
@ -39,7 +39,7 @@
(Ty (Ty
(Other "predefined_type")))) (Other "predefined_type"))))
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type")))) (Other "predefined_type"))))
@ -86,7 +86,7 @@
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type")))))) (Other "predefined_type"))))))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type"))) (Other "predefined_type")))

View File

@ -2,7 +2,7 @@
(Other "ambient_declaration" (Other "ambient_declaration"
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Ty (Ty
(Other "type_reference" (Other "type_reference"
@ -39,7 +39,7 @@
(Ty (Ty
(Other "predefined_type")))) (Other "predefined_type"))))
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type")))) (Other "predefined_type"))))
@ -76,7 +76,7 @@
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type")))))) (Other "predefined_type"))))))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type"))) (Other "predefined_type")))

View File

@ -20,7 +20,7 @@
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type")))))) (Other "predefined_type"))))))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Ty (Ty
(Other "predefined_type"))) (Other "predefined_type")))

View File

@ -1,5 +1,5 @@
{+(Program {+(Program
(VarDecl (Other "variable_declaration"
(VarAssignment (VarAssignment
(Other "destructuring_pattern" (Other "destructuring_pattern"
(Object (Object

View File

@ -1,5 +1,5 @@
{+(Program {+(Program
(VarDecl (Other "variable_declaration"
(VarAssignment (VarAssignment
(Other "destructuring_pattern" (Other "destructuring_pattern"
(Object (Object

View File

@ -1,5 +1,5 @@
{-(Program {-(Program
(VarDecl (Other "variable_declaration"
(VarAssignment (VarAssignment
(Other "destructuring_pattern" (Other "destructuring_pattern"
(Object (Object

View File

@ -1,5 +1,5 @@
{-(Program {-(Program
(VarDecl (Other "variable_declaration"
(VarAssignment (VarAssignment
(Other "destructuring_pattern" (Other "destructuring_pattern"
(Object (Object

View File

@ -1,5 +1,5 @@
(Program (Program
(VarDecl (Other "variable_declaration"
(VarAssignment (VarAssignment
(Other "destructuring_pattern" (Other "destructuring_pattern"
(Object (Object

View File

@ -1,5 +1,5 @@
(Program (Program
(VarDecl (Other "variable_declaration"
(VarAssignment (VarAssignment
(Other "destructuring_pattern" (Other "destructuring_pattern"
(Object (Object

View File

@ -1,5 +1,5 @@
(Program (Program
(VarDecl (Other "variable_declaration"
(VarAssignment (VarAssignment
(Other "destructuring_pattern" (Other "destructuring_pattern"
(Object (Object

View File

@ -1,5 +1,5 @@
(Program (Program
(VarDecl (Other "variable_declaration"
(VarAssignment (VarAssignment
(Other "destructuring_pattern" (Other "destructuring_pattern"
(Object (Object

View File

@ -2,7 +2,7 @@
(ExpressionStatements (ExpressionStatements
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(NumberLiteral)) (NumberLiteral))
(Method (Method

View File

@ -2,7 +2,7 @@
(ExpressionStatements (ExpressionStatements
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(NumberLiteral)) (NumberLiteral))
(Method (Method

View File

@ -23,7 +23,7 @@
(Identifier))) (Identifier)))
(Return (Return
(Identifier)))+} (Identifier)))+}
{-(VarAssignment {-(FieldDecl
(Identifier) (Identifier)
(NumberLiteral))-} (NumberLiteral))-}
{-(Method {-(Method

View File

@ -2,7 +2,7 @@
(ExpressionStatements (ExpressionStatements
(Class (Class
(Identifier) (Identifier)
{+(VarAssignment {+(FieldDecl
(Identifier) (Identifier)
(NumberLiteral))+} (NumberLiteral))+}
(Method (Method

View File

@ -2,7 +2,7 @@
(ExpressionStatements (ExpressionStatements
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(NumberLiteral)) (NumberLiteral))
(Method (Method

View File

@ -18,22 +18,22 @@
(Other "export_specifier" (Other "export_specifier"
(Identifier))) (Identifier)))
(Export (Export
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier))) (Identifier)))
(Export (Export
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier))) (Identifier)))
(Export (Export
(Identifier)) (Identifier))

View File

@ -18,22 +18,22 @@
(Other "export_specifier" (Other "export_specifier"
(Identifier))) (Identifier)))
(Export (Export
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier))) (Identifier)))
(Export (Export
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier))) (Identifier)))
(Export (Export
(Identifier)) (Identifier))

View File

@ -18,22 +18,22 @@
(Other "export_specifier" (Other "export_specifier"
(Identifier))) (Identifier)))
(Export (Export
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier))) (Identifier)))
(Export (Export
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier))) (Identifier)))
(Export (Export
(Identifier)) (Identifier))

View File

@ -18,22 +18,22 @@
(Other "export_specifier" (Other "export_specifier"
(Identifier))) (Identifier)))
(Export (Export
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier))) (Identifier)))
(Export (Export
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier))) (Identifier)))
(Export (Export
(Identifier)) (Identifier))

View File

@ -22,22 +22,22 @@
(Other "export_specifier" (Other "export_specifier"
(Identifier)))+} (Identifier)))+}
{+(Export {+(Export
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)))+} (Identifier)))+}
{+(Export {+(Export
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)))+} (Identifier)))+}
{+(Export {+(Export
(Identifier))+} (Identifier))+}
@ -80,22 +80,22 @@
(Other "export_specifier" (Other "export_specifier"
(Identifier)))+} (Identifier)))+}
{-(Export {-(Export
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)))-} (Identifier)))-}
{-(Export {-(Export
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)))-} (Identifier)))-}
{-(Export {-(Export
(Identifier))-} (Identifier))-}

View File

@ -22,22 +22,22 @@
(Other "export_specifier" (Other "export_specifier"
(Identifier)))+} (Identifier)))+}
{+(Export {+(Export
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)))+} (Identifier)))+}
{+(Export {+(Export
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)))+} (Identifier)))+}
{+(Export {+(Export
(Identifier))+} (Identifier))+}
@ -80,22 +80,22 @@
(Other "export_specifier" (Other "export_specifier"
(Identifier)))+} (Identifier)))+}
{-(Export {-(Export
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)))-} (Identifier)))-}
{-(Export {-(Export
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)))-} (Identifier)))-}
{-(Export {-(Export
(Identifier))-} (Identifier))-}

View File

@ -18,22 +18,22 @@
(Other "export_specifier" (Other "export_specifier"
(Identifier))) (Identifier)))
(Export (Export
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier))) (Identifier)))
(Export (Export
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier))) (Identifier)))
(Export (Export
(Identifier)) (Identifier))

View File

@ -18,22 +18,22 @@
(Other "export_specifier" (Other "export_specifier"
(Identifier))) (Identifier)))
(Export (Export
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier))) (Identifier)))
(Export (Export
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier)) (Identifier))
(Other "variable_declarator" (VarDecl
(Identifier))) (Identifier)))
(Export (Export
(Identifier)) (Identifier))

View File

@ -1,6 +1,6 @@
{+(Program {+(Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "union_type" (Other "union_type"

View File

@ -1,6 +1,6 @@
{+(Program {+(Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "intersection_type" (Other "intersection_type"

View File

@ -1,6 +1,6 @@
{-(Program {-(Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "union_type" (Other "union_type"

View File

@ -1,6 +1,6 @@
{-(Program {-(Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "intersection_type" (Other "intersection_type"

View File

@ -1,6 +1,6 @@
(Program (Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "intersection_type" (Other "intersection_type"

View File

@ -1,6 +1,6 @@
(Program (Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "union_type" (Other "union_type"

View File

@ -1,6 +1,6 @@
(Program (Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "union_type" (Other "union_type"

View File

@ -1,6 +1,6 @@
(Program (Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "intersection_type" (Other "intersection_type"

View File

@ -2,61 +2,61 @@
(ExpressionStatements (ExpressionStatements
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(NumberLiteral)))))+} (NumberLiteral)))))+}

View File

@ -2,64 +2,64 @@
(ExpressionStatements (ExpressionStatements
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "accessibility_modifier")
(Identifier) (Identifier)
(Other "type_annotation"
(Other "type_reference"
(Identifier)))
(NumberLiteral))
(VarAssignment
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "accessibility_modifier")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Identifier)
(Ty
(Other "type_reference"
(Identifier)))
(NumberLiteral))
(FieldDecl
(Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(StringLiteral)) (StringLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(NumberLiteral)))))+} (NumberLiteral)))))+}

View File

@ -2,61 +2,61 @@
(ExpressionStatements (ExpressionStatements
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(NumberLiteral)))))-} (NumberLiteral)))))-}

View File

@ -2,64 +2,64 @@
(ExpressionStatements (ExpressionStatements
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "accessibility_modifier")
(Identifier) (Identifier)
(Other "type_annotation"
(Other "type_reference"
(Identifier)))
(NumberLiteral))
(VarAssignment
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "accessibility_modifier")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Identifier)
(Ty
(Other "type_reference"
(Identifier)))
(NumberLiteral))
(FieldDecl
(Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(StringLiteral)) (StringLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(NumberLiteral)))))-} (NumberLiteral)))))-}

View File

@ -2,94 +2,86 @@
(ExpressionStatements (ExpressionStatements
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
{+(VarAssignment {+(FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral))+} (NumberLiteral))+}
{+(VarAssignment {+(FieldDecl
(Other "accessibility_modifier")
(Identifier) (Identifier)
(Other "type_annotation" (Identifier)
(Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral))+} (NumberLiteral))+}
{-(VarAssignment {-(FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(NumberLiteral))-} (NumberLiteral))-}
{-(VarAssignment {-(FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral))-} (NumberLiteral))-}
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
{+(Other "accessibility_modifier")+} { (Other "readonly")
{-(Other "readonly")-} ->(Identifier) }
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
{+(VarAssignment (FieldDecl
(Other "accessibility_modifier") { (Other "readonly")
(Other "readonly") ->(Identifier) }
(Identifier) { (Identifier)
(Other "type_annotation" ->(Other "readonly") }
{ (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(StringLiteral))+} ->(Identifier) }
{+(VarAssignment { (NumberLiteral)
(Identifier) ->(Ty
(Other "type_annotation" (Other "type_reference"
(Identifier))) }
{+(StringLiteral)+})
(FieldDecl
{ (Identifier)
->(Identifier) }
(Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral))+} (NumberLiteral))
{+(VarAssignment (FieldDecl
(Identifier) (Identifier)
(NumberLiteral))+} { (NumberLiteral)
{-(VarAssignment ->(NumberLiteral) }))))
(Other "readonly")
(Identifier)
(Other "type_annotation"
(Other "type_reference"
(Identifier)))
(NumberLiteral))-}
{-(VarAssignment
(Identifier)
(Other "type_annotation"
(Other "type_reference"
(Identifier)))
(NumberLiteral))-}
{-(VarAssignment
(Identifier)
(NumberLiteral))-})))

View File

@ -2,87 +2,79 @@
(ExpressionStatements (ExpressionStatements
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
{+(VarAssignment {+(FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(NumberLiteral))+} (NumberLiteral))+}
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
{ (Identifier) { (Identifier)
->(Identifier) } ->(Identifier) }
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
{-(VarAssignment {-(FieldDecl
(Other "accessibility_modifier")
(Identifier) (Identifier)
(Other "type_annotation" (Identifier)
(Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral))-} (NumberLiteral))-}
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
{+(Other "readonly")+} { (Identifier)
{-(Other "accessibility_modifier")-} ->(Other "readonly") }
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
{+(VarAssignment (FieldDecl
(Other "readonly") { (Identifier)
(Identifier) ->(Other "readonly") }
(Other "type_annotation" { (Other "readonly")
->(Identifier) }
{ (Identifier)
->(Ty
(Other "type_reference"
(Identifier))) }
{ (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral))+} ->(NumberLiteral) }
{+(VarAssignment {-(StringLiteral)-})
(Identifier) (FieldDecl
(Other "type_annotation" { (Identifier)
->(Identifier) }
(Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral))+} (NumberLiteral))
{+(VarAssignment (FieldDecl
(Identifier) (Identifier)
(NumberLiteral))+} { (NumberLiteral)
{-(VarAssignment ->(NumberLiteral) }))))
(Other "accessibility_modifier")
(Other "readonly")
(Identifier)
(Other "type_annotation"
(Other "type_reference"
(Identifier)))
(StringLiteral))-}
{-(VarAssignment
(Identifier)
(Other "type_annotation"
(Other "type_reference"
(Identifier)))
(NumberLiteral))-}
{-(VarAssignment
(Identifier)
(NumberLiteral))-})))

View File

@ -2,61 +2,61 @@
(ExpressionStatements (ExpressionStatements
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(NumberLiteral))))) (NumberLiteral)))))

View File

@ -2,64 +2,64 @@
(ExpressionStatements (ExpressionStatements
(Class (Class
(Identifier) (Identifier)
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier)) (Identifier))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "accessibility_modifier")
(Identifier) (Identifier)
(Other "type_annotation"
(Other "type_reference"
(Identifier)))
(NumberLiteral))
(VarAssignment
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "accessibility_modifier")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Other "accessibility_modifier") (Identifier)
(Identifier)
(Ty
(Other "type_reference"
(Identifier)))
(NumberLiteral))
(FieldDecl
(Identifier)
(Other "readonly") (Other "readonly")
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(StringLiteral)) (StringLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(Other "type_annotation" (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))) (Identifier)))
(NumberLiteral)) (NumberLiteral))
(VarAssignment (FieldDecl
(Identifier) (Identifier)
(NumberLiteral))))) (NumberLiteral)))))

View File

@ -1,12 +1,12 @@
{+(Program {+(Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))))) (Identifier)))))
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_query" (Other "type_query"

View File

@ -1,12 +1,12 @@
{+(Program {+(Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_query" (Other "type_query"
(Identifier))))) (Identifier)))))
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_reference" (Other "type_reference"

View File

@ -1,12 +1,12 @@
{-(Program {-(Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))))) (Identifier)))))
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_query" (Other "type_query"

View File

@ -1,12 +1,12 @@
{-(Program {-(Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_query" (Other "type_query"
(Identifier))))) (Identifier)))))
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_reference" (Other "type_reference"

View File

@ -1,13 +1,13 @@
(Program (Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_query" (Other "type_query"
{ (Identifier) { (Identifier)
->(Identifier) })))) ->(Identifier) }))))
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_reference" (Other "type_reference"

View File

@ -1,13 +1,13 @@
(Program (Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_reference" (Other "type_reference"
{ (Identifier) { (Identifier)
->(Identifier) })))) ->(Identifier) }))))
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_query" (Other "type_query"

View File

@ -1,12 +1,12 @@
(Program (Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_reference" (Other "type_reference"
(Identifier))))) (Identifier)))))
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_query" (Other "type_query"

View File

@ -1,12 +1,12 @@
(Program (Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_query" (Other "type_query"
(Identifier))))) (Identifier)))))
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_reference" (Other "type_reference"

View File

@ -1,6 +1,6 @@
{+(Program {+(Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "intersection_type" (Other "intersection_type"

View File

@ -1,6 +1,6 @@
{+(Program {+(Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_query" (Other "type_query"

View File

@ -1,6 +1,6 @@
{-(Program {-(Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "intersection_type" (Other "intersection_type"

View File

@ -1,6 +1,6 @@
{-(Program {-(Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_query" (Other "type_query"

View File

@ -1,6 +1,6 @@
(Program (Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_query" (Other "type_query"

View File

@ -1,6 +1,6 @@
(Program (Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "intersection_type" (Other "intersection_type"

View File

@ -1,6 +1,6 @@
(Program (Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "intersection_type" (Other "intersection_type"

View File

@ -1,6 +1,6 @@
(Program (Program
(Other "lexical_declaration" (Other "lexical_declaration"
(Other "variable_declarator" (VarAssignment
(Identifier) (Identifier)
(Ty (Ty
(Other "type_query" (Other "type_query"