1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 16:02:43 +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
(Other "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
(FieldDecl, _) -> Just $ S.FieldDecl children
(Object, _) -> Just . S.Object Nothing $ foldMap toTuple children

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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