mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +03:00
Update tests
This commit is contained in:
parent
01a8087b0a
commit
41915ff44a
@ -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
|
||||
|
@ -8,5 +8,6 @@
|
||||
(Identifier)
|
||||
(StructTy
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)))))))+}
|
||||
|
@ -8,5 +8,6 @@
|
||||
(Identifier)
|
||||
(StructTy
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)))))))-}
|
||||
|
@ -7,11 +7,9 @@
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(StructTy
|
||||
{ (FieldDecl
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
->(FieldDecl
|
||||
(FieldDecl
|
||||
(Other "identifier_list"
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Identifier)) })))))
|
||||
{ (Identifier)
|
||||
->(Identifier) }
|
||||
{+(Identifier)+})
|
||||
(Identifier)))))))
|
||||
|
@ -7,11 +7,9 @@
|
||||
(TypeDecl
|
||||
(Identifier)
|
||||
(StructTy
|
||||
{ (FieldDecl
|
||||
(FieldDecl
|
||||
(Other "identifier_list"
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Identifier))
|
||||
->(FieldDecl
|
||||
(Identifier)
|
||||
(Identifier)) })))))
|
||||
{ (Identifier)
|
||||
->(Identifier) }
|
||||
{-(Identifier)-})
|
||||
(Identifier)))))))
|
||||
|
@ -8,5 +8,6 @@
|
||||
(Identifier)
|
||||
(StructTy
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)))))))
|
||||
|
3
test/fixtures/go/struct-literals.diff+A.txt
vendored
3
test/fixtures/go/struct-literals.diff+A.txt
vendored
@ -24,7 +24,8 @@
|
||||
(Other "composite_literal"
|
||||
(StructTy
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)))
|
||||
(Pair
|
||||
(Identifier)
|
||||
|
3
test/fixtures/go/struct-literals.diff+B.txt
vendored
3
test/fixtures/go/struct-literals.diff+B.txt
vendored
@ -24,7 +24,8 @@
|
||||
(Other "composite_literal"
|
||||
(StructTy
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)))
|
||||
(Pair
|
||||
(Identifier)
|
||||
|
3
test/fixtures/go/struct-literals.diff-A.txt
vendored
3
test/fixtures/go/struct-literals.diff-A.txt
vendored
@ -24,7 +24,8 @@
|
||||
(Other "composite_literal"
|
||||
(StructTy
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)))
|
||||
(Pair
|
||||
(Identifier)
|
||||
|
3
test/fixtures/go/struct-literals.diff-B.txt
vendored
3
test/fixtures/go/struct-literals.diff-B.txt
vendored
@ -24,7 +24,8 @@
|
||||
(Other "composite_literal"
|
||||
(StructTy
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)))
|
||||
(Pair
|
||||
(Identifier)
|
||||
|
3
test/fixtures/go/struct-literals.diffA-B.txt
vendored
3
test/fixtures/go/struct-literals.diffA-B.txt
vendored
@ -25,7 +25,8 @@
|
||||
(Other "composite_literal"
|
||||
(StructTy
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
{ (Identifier)
|
||||
->(Identifier) }))
|
||||
(Pair
|
||||
|
3
test/fixtures/go/struct-literals.diffB-A.txt
vendored
3
test/fixtures/go/struct-literals.diffB-A.txt
vendored
@ -25,7 +25,8 @@
|
||||
(Other "composite_literal"
|
||||
(StructTy
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
{ (Identifier)
|
||||
->(Identifier) }))
|
||||
(Pair
|
||||
|
3
test/fixtures/go/struct-literals.parseA.txt
vendored
3
test/fixtures/go/struct-literals.parseA.txt
vendored
@ -24,7 +24,8 @@
|
||||
(Other "composite_literal"
|
||||
(StructTy
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)))
|
||||
(Pair
|
||||
(Identifier)
|
||||
|
3
test/fixtures/go/struct-literals.parseB.txt
vendored
3
test/fixtures/go/struct-literals.parseB.txt
vendored
@ -24,7 +24,8 @@
|
||||
(Other "composite_literal"
|
||||
(StructTy
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)))
|
||||
(Pair
|
||||
(Identifier)
|
||||
|
3
test/fixtures/go/struct-types.diff+A.txt
vendored
3
test/fixtures/go/struct-types.diff+A.txt
vendored
@ -29,6 +29,7 @@
|
||||
(FieldDecl
|
||||
(QualifiedIdentifier))
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(StringLiteral)))))))+}
|
||||
|
3
test/fixtures/go/struct-types.diff+B.txt
vendored
3
test/fixtures/go/struct-types.diff+B.txt
vendored
@ -29,6 +29,7 @@
|
||||
(FieldDecl
|
||||
(QualifiedIdentifier))
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(StringLiteral)))))))+}
|
||||
|
3
test/fixtures/go/struct-types.diff-A.txt
vendored
3
test/fixtures/go/struct-types.diff-A.txt
vendored
@ -29,6 +29,7 @@
|
||||
(FieldDecl
|
||||
(QualifiedIdentifier))
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(StringLiteral)))))))-}
|
||||
|
3
test/fixtures/go/struct-types.diff-B.txt
vendored
3
test/fixtures/go/struct-types.diff-B.txt
vendored
@ -29,6 +29,7 @@
|
||||
(FieldDecl
|
||||
(QualifiedIdentifier))
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(StringLiteral)))))))-}
|
||||
|
3
test/fixtures/go/struct-types.diffA-B.txt
vendored
3
test/fixtures/go/struct-types.diffA-B.txt
vendored
@ -33,6 +33,7 @@
|
||||
(FieldDecl
|
||||
(QualifiedIdentifier))
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(StringLiteral)))))))
|
||||
|
3
test/fixtures/go/struct-types.diffB-A.txt
vendored
3
test/fixtures/go/struct-types.diffB-A.txt
vendored
@ -33,6 +33,7 @@
|
||||
(FieldDecl
|
||||
(QualifiedIdentifier))
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(StringLiteral)))))))
|
||||
|
3
test/fixtures/go/struct-types.parseA.txt
vendored
3
test/fixtures/go/struct-types.parseA.txt
vendored
@ -29,6 +29,7 @@
|
||||
(FieldDecl
|
||||
(QualifiedIdentifier))
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(StringLiteral)))))))
|
||||
|
3
test/fixtures/go/struct-types.parseB.txt
vendored
3
test/fixtures/go/struct-types.parseB.txt
vendored
@ -29,6 +29,7 @@
|
||||
(FieldDecl
|
||||
(QualifiedIdentifier))
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Other "identifier_list"
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
(StringLiteral)))))))
|
||||
|
15
test/fixtures/javascript/export.diff+A.txt
vendored
15
test/fixtures/javascript/export.diff+A.txt
vendored
@ -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
|
||||
|
15
test/fixtures/javascript/export.diff+B.txt
vendored
15
test/fixtures/javascript/export.diff+B.txt
vendored
@ -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
|
||||
|
15
test/fixtures/javascript/export.diff-A.txt
vendored
15
test/fixtures/javascript/export.diff-A.txt
vendored
@ -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
|
||||
|
15
test/fixtures/javascript/export.diff-B.txt
vendored
15
test/fixtures/javascript/export.diff-B.txt
vendored
@ -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
|
||||
|
60
test/fixtures/javascript/export.diffA-B.txt
vendored
60
test/fixtures/javascript/export.diffA-B.txt
vendored
@ -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)))
|
||||
->
|
||||
(Other "export_specifier"
|
||||
(Identifier)
|
||||
(Identifier))}
|
||||
{(VarDecl
|
||||
(Other "variable_declarator"
|
||||
(Identifier)))
|
||||
->
|
||||
(Other "export_specifier"
|
||||
(Identifier)
|
||||
(Identifier))}
|
||||
{(VarDecl
|
||||
(Other "variable_declarator"
|
||||
(Identifier)))
|
||||
->
|
||||
(Other "export_specifier"
|
||||
(Identifier))} )
|
||||
{+(Export
|
||||
(StringLiteral)
|
||||
(Other "export_specifier"
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Other "export_specifier"
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Other "export_specifier"
|
||||
(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
|
||||
|
30
test/fixtures/javascript/export.diffB-A.txt
vendored
30
test/fixtures/javascript/export.diffB-A.txt
vendored
@ -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
|
||||
|
15
test/fixtures/javascript/export.parseA.txt
vendored
15
test/fixtures/javascript/export.parseA.txt
vendored
@ -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
|
||||
|
15
test/fixtures/javascript/export.parseB.txt
vendored
15
test/fixtures/javascript/export.parseB.txt
vendored
@ -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
|
||||
|
@ -1,11 +1,9 @@
|
||||
{+(Program
|
||||
(VarDecl
|
||||
(VarDecl
|
||||
(Other "variable_declarator"
|
||||
(Identifier)))
|
||||
(Identifier))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Object))
|
||||
(VarDecl
|
||||
(Other "variable_declarator"
|
||||
(Identifier)))))+}
|
||||
(Identifier))))+}
|
||||
|
@ -1,11 +1,9 @@
|
||||
{-(Program
|
||||
(VarDecl
|
||||
(VarDecl
|
||||
(Other "variable_declarator"
|
||||
(Identifier)))
|
||||
(Identifier))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Object))
|
||||
(VarDecl
|
||||
(Other "variable_declarator"
|
||||
(Identifier)))))-}
|
||||
(Identifier))))-}
|
||||
|
@ -1,14 +1,12 @@
|
||||
(Program
|
||||
(VarDecl
|
||||
{+(VarDecl
|
||||
(Other "variable_declarator"
|
||||
(Identifier)))+}
|
||||
(Identifier))+}
|
||||
{+(VarAssignment
|
||||
(Identifier)
|
||||
(Object))+}
|
||||
{+(VarDecl
|
||||
(Other "variable_declarator"
|
||||
(Identifier)))+}
|
||||
(Identifier))+}
|
||||
{-(VarAssignment
|
||||
(Identifier)
|
||||
(NumberLiteral))-}))
|
||||
|
@ -4,11 +4,9 @@
|
||||
(Identifier)
|
||||
(NumberLiteral))+}
|
||||
{-(VarDecl
|
||||
(Other "variable_declarator"
|
||||
(Identifier)))-}
|
||||
(Identifier))-}
|
||||
{-(VarAssignment
|
||||
(Identifier)
|
||||
(Object))-}
|
||||
{-(VarDecl
|
||||
(Other "variable_declarator"
|
||||
(Identifier)))-}))
|
||||
(Identifier))-}))
|
||||
|
@ -1,11 +1,9 @@
|
||||
(Program
|
||||
(VarDecl
|
||||
(VarDecl
|
||||
(Other "variable_declarator"
|
||||
(Identifier)))
|
||||
(Identifier))
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Object))
|
||||
(VarDecl
|
||||
(Other "variable_declarator"
|
||||
(Identifier)))))
|
||||
(Identifier))))
|
||||
|
@ -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")))
|
||||
|
@ -20,7 +20,7 @@
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "predefined_type"))))))
|
||||
(VarAssignment
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "predefined_type")))
|
||||
|
@ -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")))
|
||||
|
@ -20,7 +20,7 @@
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "predefined_type"))))))
|
||||
(VarAssignment
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "predefined_type")))
|
||||
|
@ -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")))
|
||||
|
@ -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")))
|
||||
|
@ -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")))
|
||||
|
@ -20,7 +20,7 @@
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "predefined_type"))))))
|
||||
(VarAssignment
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "predefined_type")))
|
||||
|
@ -1,5 +1,5 @@
|
||||
{+(Program
|
||||
(VarDecl
|
||||
(Other "variable_declaration"
|
||||
(VarAssignment
|
||||
(Other "destructuring_pattern"
|
||||
(Object
|
||||
|
@ -1,5 +1,5 @@
|
||||
{+(Program
|
||||
(VarDecl
|
||||
(Other "variable_declaration"
|
||||
(VarAssignment
|
||||
(Other "destructuring_pattern"
|
||||
(Object
|
||||
|
@ -1,5 +1,5 @@
|
||||
{-(Program
|
||||
(VarDecl
|
||||
(Other "variable_declaration"
|
||||
(VarAssignment
|
||||
(Other "destructuring_pattern"
|
||||
(Object
|
||||
|
@ -1,5 +1,5 @@
|
||||
{-(Program
|
||||
(VarDecl
|
||||
(Other "variable_declaration"
|
||||
(VarAssignment
|
||||
(Other "destructuring_pattern"
|
||||
(Object
|
||||
|
@ -1,5 +1,5 @@
|
||||
(Program
|
||||
(VarDecl
|
||||
(Other "variable_declaration"
|
||||
(VarAssignment
|
||||
(Other "destructuring_pattern"
|
||||
(Object
|
||||
|
@ -1,5 +1,5 @@
|
||||
(Program
|
||||
(VarDecl
|
||||
(Other "variable_declaration"
|
||||
(VarAssignment
|
||||
(Other "destructuring_pattern"
|
||||
(Object
|
||||
|
@ -1,5 +1,5 @@
|
||||
(Program
|
||||
(VarDecl
|
||||
(Other "variable_declaration"
|
||||
(VarAssignment
|
||||
(Other "destructuring_pattern"
|
||||
(Object
|
||||
|
@ -1,5 +1,5 @@
|
||||
(Program
|
||||
(VarDecl
|
||||
(Other "variable_declaration"
|
||||
(VarAssignment
|
||||
(Other "destructuring_pattern"
|
||||
(Object
|
||||
|
2
test/fixtures/typescript/class.diff+A.txt
vendored
2
test/fixtures/typescript/class.diff+A.txt
vendored
@ -2,7 +2,7 @@
|
||||
(ExpressionStatements
|
||||
(Class
|
||||
(Identifier)
|
||||
(VarAssignment
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(Method
|
||||
|
2
test/fixtures/typescript/class.diff-A.txt
vendored
2
test/fixtures/typescript/class.diff-A.txt
vendored
@ -2,7 +2,7 @@
|
||||
(ExpressionStatements
|
||||
(Class
|
||||
(Identifier)
|
||||
(VarAssignment
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(Method
|
||||
|
2
test/fixtures/typescript/class.diffA-B.txt
vendored
2
test/fixtures/typescript/class.diffA-B.txt
vendored
@ -23,7 +23,7 @@
|
||||
(Identifier)))
|
||||
(Return
|
||||
(Identifier)))+}
|
||||
{-(VarAssignment
|
||||
{-(FieldDecl
|
||||
(Identifier)
|
||||
(NumberLiteral))-}
|
||||
{-(Method
|
||||
|
2
test/fixtures/typescript/class.diffB-A.txt
vendored
2
test/fixtures/typescript/class.diffB-A.txt
vendored
@ -2,7 +2,7 @@
|
||||
(ExpressionStatements
|
||||
(Class
|
||||
(Identifier)
|
||||
{+(VarAssignment
|
||||
{+(FieldDecl
|
||||
(Identifier)
|
||||
(NumberLiteral))+}
|
||||
(Method
|
||||
|
2
test/fixtures/typescript/class.parseA.txt
vendored
2
test/fixtures/typescript/class.parseA.txt
vendored
@ -2,7 +2,7 @@
|
||||
(ExpressionStatements
|
||||
(Class
|
||||
(Identifier)
|
||||
(VarAssignment
|
||||
(FieldDecl
|
||||
(Identifier)
|
||||
(NumberLiteral))
|
||||
(Method
|
||||
|
14
test/fixtures/typescript/export.diff+A.txt
vendored
14
test/fixtures/typescript/export.diff+A.txt
vendored
@ -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))
|
||||
|
14
test/fixtures/typescript/export.diff+B.txt
vendored
14
test/fixtures/typescript/export.diff+B.txt
vendored
@ -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))
|
||||
|
14
test/fixtures/typescript/export.diff-A.txt
vendored
14
test/fixtures/typescript/export.diff-A.txt
vendored
@ -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))
|
||||
|
14
test/fixtures/typescript/export.diff-B.txt
vendored
14
test/fixtures/typescript/export.diff-B.txt
vendored
@ -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))
|
||||
|
28
test/fixtures/typescript/export.diffA-B.txt
vendored
28
test/fixtures/typescript/export.diffA-B.txt
vendored
@ -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))-}
|
||||
|
28
test/fixtures/typescript/export.diffB-A.txt
vendored
28
test/fixtures/typescript/export.diffB-A.txt
vendored
@ -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))-}
|
||||
|
14
test/fixtures/typescript/export.parseA.txt
vendored
14
test/fixtures/typescript/export.parseA.txt
vendored
@ -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))
|
||||
|
14
test/fixtures/typescript/export.parseB.txt
vendored
14
test/fixtures/typescript/export.parseB.txt
vendored
@ -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))
|
||||
|
@ -1,6 +1,6 @@
|
||||
{+(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "union_type"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{+(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "intersection_type"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{-(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "union_type"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{-(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "intersection_type"
|
||||
|
@ -1,6 +1,6 @@
|
||||
(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "intersection_type"
|
||||
|
@ -1,6 +1,6 @@
|
||||
(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "union_type"
|
||||
|
@ -1,6 +1,6 @@
|
||||
(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "union_type"
|
||||
|
@ -1,6 +1,6 @@
|
||||
(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "intersection_type"
|
||||
|
@ -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)))))+}
|
||||
|
@ -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)))))+}
|
||||
|
@ -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)))))-}
|
||||
|
@ -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)))))-}
|
||||
|
@ -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) }))))
|
||||
|
@ -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) }))))
|
||||
|
@ -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)))))
|
||||
|
@ -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)))))
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{+(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "intersection_type"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{+(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "type_query"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{-(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "intersection_type"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{-(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "type_query"
|
||||
|
@ -1,6 +1,6 @@
|
||||
(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "type_query"
|
||||
|
@ -1,6 +1,6 @@
|
||||
(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "intersection_type"
|
||||
|
@ -1,6 +1,6 @@
|
||||
(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "intersection_type"
|
||||
|
@ -1,6 +1,6 @@
|
||||
(Program
|
||||
(Other "lexical_declaration"
|
||||
(Other "variable_declarator"
|
||||
(VarAssignment
|
||||
(Identifier)
|
||||
(Ty
|
||||
(Other "type_query"
|
||||
|
Loading…
Reference in New Issue
Block a user