mirror of
https://github.com/github/semantic.git
synced 2024-12-26 08:25:19 +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
|
(Ternary, condition : cases) -> Just $ S.Ternary condition cases
|
||||||
(Other "variable_declaration", _) -> Just . S.Indexed $ toVarDeclOrAssignment <$> children
|
(Other "variable_declaration", _) -> Just . S.Indexed $ toVarDeclOrAssignment <$> children
|
||||||
(Other "trailing_variable_declaration", _) -> Just . S.Indexed $ toVarDeclOrAssignment <$> children
|
(Other "trailing_variable_declaration", _) -> Just . S.Indexed $ toVarDeclOrAssignment <$> children
|
||||||
|
(Other "lexical_declaration", _) -> Just . S.Indexed $ toVarDeclOrAssignment <$> children
|
||||||
(VarAssignment, [id, assignment]) -> Just $ S.VarAssignment [id] assignment
|
(VarAssignment, [id, assignment]) -> Just $ S.VarAssignment [id] assignment
|
||||||
(FieldDecl, _) -> Just $ S.FieldDecl children
|
(FieldDecl, _) -> Just $ S.FieldDecl children
|
||||||
(Object, _) -> Just . S.Object Nothing $ foldMap toTuple children
|
(Object, _) -> Just . S.Object Nothing $ foldMap toTuple children
|
||||||
|
@ -8,5 +8,6 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(StructTy
|
(StructTy
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)))))))+}
|
(Identifier)))))))+}
|
||||||
|
@ -8,5 +8,6 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(StructTy
|
(StructTy
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)))))))-}
|
(Identifier)))))))-}
|
||||||
|
@ -7,11 +7,9 @@
|
|||||||
(TypeDecl
|
(TypeDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(StructTy
|
(StructTy
|
||||||
{ (FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
|
||||||
(Identifier))
|
|
||||||
->(FieldDecl
|
|
||||||
(Other "identifier_list"
|
(Other "identifier_list"
|
||||||
(Identifier)
|
{ (Identifier)
|
||||||
(Identifier))
|
->(Identifier) }
|
||||||
(Identifier)) })))))
|
{+(Identifier)+})
|
||||||
|
(Identifier)))))))
|
||||||
|
@ -7,11 +7,9 @@
|
|||||||
(TypeDecl
|
(TypeDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(StructTy
|
(StructTy
|
||||||
{ (FieldDecl
|
(FieldDecl
|
||||||
(Other "identifier_list"
|
(Other "identifier_list"
|
||||||
(Identifier)
|
{ (Identifier)
|
||||||
(Identifier))
|
->(Identifier) }
|
||||||
(Identifier))
|
{-(Identifier)-})
|
||||||
->(FieldDecl
|
(Identifier)))))))
|
||||||
(Identifier)
|
|
||||||
(Identifier)) })))))
|
|
||||||
|
@ -8,5 +8,6 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(StructTy
|
(StructTy
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(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"
|
(Other "composite_literal"
|
||||||
(StructTy
|
(StructTy
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Pair
|
(Pair
|
||||||
(Identifier)
|
(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"
|
(Other "composite_literal"
|
||||||
(StructTy
|
(StructTy
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Pair
|
(Pair
|
||||||
(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"
|
(Other "composite_literal"
|
||||||
(StructTy
|
(StructTy
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Pair
|
(Pair
|
||||||
(Identifier)
|
(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"
|
(Other "composite_literal"
|
||||||
(StructTy
|
(StructTy
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Pair
|
(Pair
|
||||||
(Identifier)
|
(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"
|
(Other "composite_literal"
|
||||||
(StructTy
|
(StructTy
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
{ (Identifier)
|
{ (Identifier)
|
||||||
->(Identifier) }))
|
->(Identifier) }))
|
||||||
(Pair
|
(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"
|
(Other "composite_literal"
|
||||||
(StructTy
|
(StructTy
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
{ (Identifier)
|
{ (Identifier)
|
||||||
->(Identifier) }))
|
->(Identifier) }))
|
||||||
(Pair
|
(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"
|
(Other "composite_literal"
|
||||||
(StructTy
|
(StructTy
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Pair
|
(Pair
|
||||||
(Identifier)
|
(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"
|
(Other "composite_literal"
|
||||||
(StructTy
|
(StructTy
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Pair
|
(Pair
|
||||||
(Identifier)
|
(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
|
(FieldDecl
|
||||||
(QualifiedIdentifier))
|
(QualifiedIdentifier))
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(StringLiteral)))))))+}
|
(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
|
(FieldDecl
|
||||||
(QualifiedIdentifier))
|
(QualifiedIdentifier))
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(StringLiteral)))))))+}
|
(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
|
(FieldDecl
|
||||||
(QualifiedIdentifier))
|
(QualifiedIdentifier))
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(StringLiteral)))))))-}
|
(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
|
(FieldDecl
|
||||||
(QualifiedIdentifier))
|
(QualifiedIdentifier))
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(StringLiteral)))))))-}
|
(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
|
(FieldDecl
|
||||||
(QualifiedIdentifier))
|
(QualifiedIdentifier))
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(StringLiteral)))))))
|
(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
|
(FieldDecl
|
||||||
(QualifiedIdentifier))
|
(QualifiedIdentifier))
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(StringLiteral)))))))
|
(StringLiteral)))))))
|
||||||
|
3
test/fixtures/go/struct-types.parseA.txt
vendored
3
test/fixtures/go/struct-types.parseA.txt
vendored
@ -29,6 +29,7 @@
|
|||||||
(FieldDecl
|
(FieldDecl
|
||||||
(QualifiedIdentifier))
|
(QualifiedIdentifier))
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(StringLiteral)))))))
|
(StringLiteral)))))))
|
||||||
|
3
test/fixtures/go/struct-types.parseB.txt
vendored
3
test/fixtures/go/struct-types.parseB.txt
vendored
@ -29,6 +29,7 @@
|
|||||||
(FieldDecl
|
(FieldDecl
|
||||||
(QualifiedIdentifier))
|
(QualifiedIdentifier))
|
||||||
(FieldDecl
|
(FieldDecl
|
||||||
(Identifier)
|
(Other "identifier_list"
|
||||||
|
(Identifier))
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(StringLiteral)))))))
|
(StringLiteral)))))))
|
||||||
|
15
test/fixtures/javascript/export.diff+A.txt
vendored
15
test/fixtures/javascript/export.diff+A.txt
vendored
@ -19,14 +19,11 @@
|
|||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))
|
||||||
(Identifier))))
|
|
||||||
(Export
|
(Export
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
@ -35,11 +32,9 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))
|
||||||
(Identifier))))
|
|
||||||
(Export
|
(Export
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Export
|
(Export
|
||||||
|
15
test/fixtures/javascript/export.diff+B.txt
vendored
15
test/fixtures/javascript/export.diff+B.txt
vendored
@ -19,14 +19,11 @@
|
|||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))
|
||||||
(Identifier))))
|
|
||||||
(Export
|
(Export
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
@ -35,11 +32,9 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))
|
||||||
(Identifier))))
|
|
||||||
(Export
|
(Export
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Export
|
(Export
|
||||||
|
15
test/fixtures/javascript/export.diff-A.txt
vendored
15
test/fixtures/javascript/export.diff-A.txt
vendored
@ -19,14 +19,11 @@
|
|||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))
|
||||||
(Identifier))))
|
|
||||||
(Export
|
(Export
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
@ -35,11 +32,9 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))
|
||||||
(Identifier))))
|
|
||||||
(Export
|
(Export
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Export
|
(Export
|
||||||
|
15
test/fixtures/javascript/export.diff-B.txt
vendored
15
test/fixtures/javascript/export.diff-B.txt
vendored
@ -19,14 +19,11 @@
|
|||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))
|
||||||
(Identifier))))
|
|
||||||
(Export
|
(Export
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
@ -35,11 +32,9 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))
|
||||||
(Identifier))))
|
|
||||||
(Export
|
(Export
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Export
|
(Export
|
||||||
|
50
test/fixtures/javascript/export.diffA-B.txt
vendored
50
test/fixtures/javascript/export.diffA-B.txt
vendored
@ -23,14 +23,11 @@
|
|||||||
(Identifier)))+}
|
(Identifier)))+}
|
||||||
{+(Export
|
{+(Export
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))+}
|
||||||
(Identifier))))+}
|
|
||||||
{+(Export
|
{+(Export
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
@ -39,11 +36,9 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))+}
|
||||||
(Identifier))))+}
|
|
||||||
{+(Export
|
{+(Export
|
||||||
(Identifier))+}
|
(Identifier))+}
|
||||||
{+(Export
|
{+(Export
|
||||||
@ -72,28 +67,23 @@
|
|||||||
(Other "export_specifier"
|
(Other "export_specifier"
|
||||||
{ (Identifier)
|
{ (Identifier)
|
||||||
->(Identifier) }))
|
->(Identifier) }))
|
||||||
(Export
|
{+(Export
|
||||||
{ +(StringLiteral)+ }
|
(StringLiteral)
|
||||||
{(VarDecl
|
|
||||||
(Other "variable_declarator"
|
|
||||||
(Identifier)))
|
|
||||||
->
|
|
||||||
(Other "export_specifier"
|
(Other "export_specifier"
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))}
|
(Identifier))
|
||||||
{(VarDecl
|
|
||||||
(Other "variable_declarator"
|
|
||||||
(Identifier)))
|
|
||||||
->
|
|
||||||
(Other "export_specifier"
|
(Other "export_specifier"
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))}
|
(Identifier))
|
||||||
{(VarDecl
|
|
||||||
(Other "variable_declarator"
|
|
||||||
(Identifier)))
|
|
||||||
->
|
|
||||||
(Other "export_specifier"
|
(Other "export_specifier"
|
||||||
(Identifier))} )
|
(Identifier)))+}
|
||||||
|
{-(Export
|
||||||
|
(VarDecl
|
||||||
|
(Identifier))
|
||||||
|
(VarDecl
|
||||||
|
(Identifier))
|
||||||
|
(VarDecl
|
||||||
|
(Identifier)))-}
|
||||||
{-(Export
|
{-(Export
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
@ -102,11 +92,9 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))-}
|
||||||
(Identifier))))-}
|
|
||||||
{-(Export
|
{-(Export
|
||||||
(Identifier))-}
|
(Identifier))-}
|
||||||
{-(Export
|
{-(Export
|
||||||
|
30
test/fixtures/javascript/export.diffB-A.txt
vendored
30
test/fixtures/javascript/export.diffB-A.txt
vendored
@ -23,14 +23,11 @@
|
|||||||
(Identifier)))+}
|
(Identifier)))+}
|
||||||
{+(Export
|
{+(Export
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))+}
|
||||||
(Identifier))))+}
|
|
||||||
{+(Export
|
{+(Export
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
@ -39,11 +36,9 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))+}
|
||||||
(Identifier))))+}
|
|
||||||
{+(Export
|
{+(Export
|
||||||
(Identifier))+}
|
(Identifier))+}
|
||||||
{+(Export
|
{+(Export
|
||||||
@ -84,14 +79,11 @@
|
|||||||
(Identifier)))+}
|
(Identifier)))+}
|
||||||
{-(Export
|
{-(Export
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))-}
|
||||||
(Identifier))))-}
|
|
||||||
{-(Export
|
{-(Export
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
@ -100,11 +92,9 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))-}
|
||||||
(Identifier))))-}
|
|
||||||
{-(Export
|
{-(Export
|
||||||
(Identifier))-}
|
(Identifier))-}
|
||||||
{-(Export
|
{-(Export
|
||||||
|
15
test/fixtures/javascript/export.parseA.txt
vendored
15
test/fixtures/javascript/export.parseA.txt
vendored
@ -19,14 +19,11 @@
|
|||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))
|
||||||
(Identifier))))
|
|
||||||
(Export
|
(Export
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
@ -35,11 +32,9 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))
|
||||||
(Identifier))))
|
|
||||||
(Export
|
(Export
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Export
|
(Export
|
||||||
|
15
test/fixtures/javascript/export.parseB.txt
vendored
15
test/fixtures/javascript/export.parseB.txt
vendored
@ -19,14 +19,11 @@
|
|||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))
|
||||||
(Identifier))))
|
|
||||||
(Export
|
(Export
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
@ -35,11 +32,9 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier)))
|
||||||
(Identifier))))
|
|
||||||
(Export
|
(Export
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Export
|
(Export
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
{+(Program
|
{+(Program
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Object))
|
(Object))
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))))+}
|
||||||
(Identifier)))))+}
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
{-(Program
|
{-(Program
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Object))
|
(Object))
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))))-}
|
||||||
(Identifier)))))-}
|
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
(Program
|
(Program
|
||||||
(VarDecl
|
(VarDecl
|
||||||
{+(VarDecl
|
{+(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))+}
|
||||||
(Identifier)))+}
|
|
||||||
{+(VarAssignment
|
{+(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Object))+}
|
(Object))+}
|
||||||
{+(VarDecl
|
{+(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))+}
|
||||||
(Identifier)))+}
|
|
||||||
{-(VarAssignment
|
{-(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))-}))
|
(NumberLiteral))-}))
|
||||||
|
@ -4,11 +4,9 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))+}
|
(NumberLiteral))+}
|
||||||
{-(VarDecl
|
{-(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))-}
|
||||||
(Identifier)))-}
|
|
||||||
{-(VarAssignment
|
{-(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Object))-}
|
(Object))-}
|
||||||
{-(VarDecl
|
{-(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))-}))
|
||||||
(Identifier)))-}))
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
(Program
|
(Program
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))
|
||||||
(Identifier)))
|
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Object))
|
(Object))
|
||||||
(VarDecl
|
(VarDecl
|
||||||
(Other "variable_declarator"
|
(Identifier))))
|
||||||
(Identifier)))))
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
(Other "ambient_declaration"
|
(Other "ambient_declaration"
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
@ -39,7 +39,7 @@
|
|||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))
|
(Other "predefined_type"))))
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))
|
(Other "predefined_type"))))
|
||||||
@ -76,7 +76,7 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))))
|
(Other "predefined_type"))))))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type")))
|
(Other "predefined_type")))
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))))
|
(Other "predefined_type"))))))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type")))
|
(Other "predefined_type")))
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
(Other "ambient_declaration"
|
(Other "ambient_declaration"
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
@ -39,7 +39,7 @@
|
|||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))
|
(Other "predefined_type"))))
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))
|
(Other "predefined_type"))))
|
||||||
@ -76,7 +76,7 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))))
|
(Other "predefined_type"))))))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type")))
|
(Other "predefined_type")))
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))))
|
(Other "predefined_type"))))))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type")))
|
(Other "predefined_type")))
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
(Other "object_type"))+}
|
(Other "object_type"))+}
|
||||||
{-(Class
|
{-(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
@ -48,7 +48,7 @@
|
|||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))
|
(Other "predefined_type"))))
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))
|
(Other "predefined_type"))))
|
||||||
@ -85,7 +85,7 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))))
|
(Other "predefined_type"))))))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type")))
|
(Other "predefined_type")))
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{+(Other "ambient_declaration"
|
{+(Other "ambient_declaration"
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
@ -39,7 +39,7 @@
|
|||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))
|
(Other "predefined_type"))))
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))
|
(Other "predefined_type"))))
|
||||||
@ -86,7 +86,7 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))))
|
(Other "predefined_type"))))))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type")))
|
(Other "predefined_type")))
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
(Other "ambient_declaration"
|
(Other "ambient_declaration"
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
@ -39,7 +39,7 @@
|
|||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))
|
(Other "predefined_type"))))
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))
|
(Other "predefined_type"))))
|
||||||
@ -76,7 +76,7 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))))
|
(Other "predefined_type"))))))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type")))
|
(Other "predefined_type")))
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type"))))))
|
(Other "predefined_type"))))))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "predefined_type")))
|
(Other "predefined_type")))
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{+(Program
|
{+(Program
|
||||||
(VarDecl
|
(Other "variable_declaration"
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Other "destructuring_pattern"
|
(Other "destructuring_pattern"
|
||||||
(Object
|
(Object
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{+(Program
|
{+(Program
|
||||||
(VarDecl
|
(Other "variable_declaration"
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Other "destructuring_pattern"
|
(Other "destructuring_pattern"
|
||||||
(Object
|
(Object
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{-(Program
|
{-(Program
|
||||||
(VarDecl
|
(Other "variable_declaration"
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Other "destructuring_pattern"
|
(Other "destructuring_pattern"
|
||||||
(Object
|
(Object
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{-(Program
|
{-(Program
|
||||||
(VarDecl
|
(Other "variable_declaration"
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Other "destructuring_pattern"
|
(Other "destructuring_pattern"
|
||||||
(Object
|
(Object
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
(Program
|
(Program
|
||||||
(VarDecl
|
(Other "variable_declaration"
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Other "destructuring_pattern"
|
(Other "destructuring_pattern"
|
||||||
(Object
|
(Object
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
(Program
|
(Program
|
||||||
(VarDecl
|
(Other "variable_declaration"
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Other "destructuring_pattern"
|
(Other "destructuring_pattern"
|
||||||
(Object
|
(Object
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
(Program
|
(Program
|
||||||
(VarDecl
|
(Other "variable_declaration"
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Other "destructuring_pattern"
|
(Other "destructuring_pattern"
|
||||||
(Object
|
(Object
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
(Program
|
(Program
|
||||||
(VarDecl
|
(Other "variable_declaration"
|
||||||
(VarAssignment
|
(VarAssignment
|
||||||
(Other "destructuring_pattern"
|
(Other "destructuring_pattern"
|
||||||
(Object
|
(Object
|
||||||
|
2
test/fixtures/typescript/class.diff+A.txt
vendored
2
test/fixtures/typescript/class.diff+A.txt
vendored
@ -2,7 +2,7 @@
|
|||||||
(ExpressionStatements
|
(ExpressionStatements
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(Method
|
(Method
|
||||||
|
2
test/fixtures/typescript/class.diff-A.txt
vendored
2
test/fixtures/typescript/class.diff-A.txt
vendored
@ -2,7 +2,7 @@
|
|||||||
(ExpressionStatements
|
(ExpressionStatements
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(Method
|
(Method
|
||||||
|
2
test/fixtures/typescript/class.diffA-B.txt
vendored
2
test/fixtures/typescript/class.diffA-B.txt
vendored
@ -23,7 +23,7 @@
|
|||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Return
|
(Return
|
||||||
(Identifier)))+}
|
(Identifier)))+}
|
||||||
{-(VarAssignment
|
{-(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))-}
|
(NumberLiteral))-}
|
||||||
{-(Method
|
{-(Method
|
||||||
|
2
test/fixtures/typescript/class.diffB-A.txt
vendored
2
test/fixtures/typescript/class.diffB-A.txt
vendored
@ -2,7 +2,7 @@
|
|||||||
(ExpressionStatements
|
(ExpressionStatements
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
{+(VarAssignment
|
{+(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))+}
|
(NumberLiteral))+}
|
||||||
(Method
|
(Method
|
||||||
|
2
test/fixtures/typescript/class.parseA.txt
vendored
2
test/fixtures/typescript/class.parseA.txt
vendored
@ -2,7 +2,7 @@
|
|||||||
(ExpressionStatements
|
(ExpressionStatements
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(Method
|
(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"
|
(Other "export_specifier"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Identifier))
|
(Identifier))
|
||||||
|
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"
|
(Other "export_specifier"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Identifier))
|
(Identifier))
|
||||||
|
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"
|
(Other "export_specifier"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Identifier))
|
(Identifier))
|
||||||
|
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"
|
(Other "export_specifier"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Identifier))
|
(Identifier))
|
||||||
|
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"
|
(Other "export_specifier"
|
||||||
(Identifier)))+}
|
(Identifier)))+}
|
||||||
{+(Export
|
{+(Export
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))+}
|
(Identifier)))+}
|
||||||
{+(Export
|
{+(Export
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))+}
|
(Identifier)))+}
|
||||||
{+(Export
|
{+(Export
|
||||||
(Identifier))+}
|
(Identifier))+}
|
||||||
@ -80,22 +80,22 @@
|
|||||||
(Other "export_specifier"
|
(Other "export_specifier"
|
||||||
(Identifier)))+}
|
(Identifier)))+}
|
||||||
{-(Export
|
{-(Export
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))-}
|
(Identifier)))-}
|
||||||
{-(Export
|
{-(Export
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))-}
|
(Identifier)))-}
|
||||||
{-(Export
|
{-(Export
|
||||||
(Identifier))-}
|
(Identifier))-}
|
||||||
|
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"
|
(Other "export_specifier"
|
||||||
(Identifier)))+}
|
(Identifier)))+}
|
||||||
{+(Export
|
{+(Export
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))+}
|
(Identifier)))+}
|
||||||
{+(Export
|
{+(Export
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))+}
|
(Identifier)))+}
|
||||||
{+(Export
|
{+(Export
|
||||||
(Identifier))+}
|
(Identifier))+}
|
||||||
@ -80,22 +80,22 @@
|
|||||||
(Other "export_specifier"
|
(Other "export_specifier"
|
||||||
(Identifier)))+}
|
(Identifier)))+}
|
||||||
{-(Export
|
{-(Export
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))-}
|
(Identifier)))-}
|
||||||
{-(Export
|
{-(Export
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))-}
|
(Identifier)))-}
|
||||||
{-(Export
|
{-(Export
|
||||||
(Identifier))-}
|
(Identifier))-}
|
||||||
|
14
test/fixtures/typescript/export.parseA.txt
vendored
14
test/fixtures/typescript/export.parseA.txt
vendored
@ -18,22 +18,22 @@
|
|||||||
(Other "export_specifier"
|
(Other "export_specifier"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Identifier))
|
(Identifier))
|
||||||
|
14
test/fixtures/typescript/export.parseB.txt
vendored
14
test/fixtures/typescript/export.parseB.txt
vendored
@ -18,22 +18,22 @@
|
|||||||
(Other "export_specifier"
|
(Other "export_specifier"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Other "variable_declarator"
|
(VarDecl
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(Export
|
(Export
|
||||||
(Identifier))
|
(Identifier))
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{+(Program
|
{+(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "union_type"
|
(Other "union_type"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{+(Program
|
{+(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "intersection_type"
|
(Other "intersection_type"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{-(Program
|
{-(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "union_type"
|
(Other "union_type"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{-(Program
|
{-(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "intersection_type"
|
(Other "intersection_type"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
(Program
|
(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "intersection_type"
|
(Other "intersection_type"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
(Program
|
(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "union_type"
|
(Other "union_type"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
(Program
|
(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "union_type"
|
(Other "union_type"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
(Program
|
(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "intersection_type"
|
(Other "intersection_type"
|
||||||
|
@ -2,61 +2,61 @@
|
|||||||
(ExpressionStatements
|
(ExpressionStatements
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral)))))+}
|
(NumberLiteral)))))+}
|
||||||
|
@ -2,64 +2,64 @@
|
|||||||
(ExpressionStatements
|
(ExpressionStatements
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
|
||||||
(Other "type_reference"
|
|
||||||
(Identifier)))
|
|
||||||
(NumberLiteral))
|
|
||||||
(VarAssignment
|
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
|
(Identifier)
|
||||||
|
(Ty
|
||||||
|
(Other "type_reference"
|
||||||
|
(Identifier)))
|
||||||
|
(NumberLiteral))
|
||||||
|
(FieldDecl
|
||||||
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(StringLiteral))
|
(StringLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral)))))+}
|
(NumberLiteral)))))+}
|
||||||
|
@ -2,61 +2,61 @@
|
|||||||
(ExpressionStatements
|
(ExpressionStatements
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral)))))-}
|
(NumberLiteral)))))-}
|
||||||
|
@ -2,64 +2,64 @@
|
|||||||
(ExpressionStatements
|
(ExpressionStatements
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
|
||||||
(Other "type_reference"
|
|
||||||
(Identifier)))
|
|
||||||
(NumberLiteral))
|
|
||||||
(VarAssignment
|
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
|
(Identifier)
|
||||||
|
(Ty
|
||||||
|
(Other "type_reference"
|
||||||
|
(Identifier)))
|
||||||
|
(NumberLiteral))
|
||||||
|
(FieldDecl
|
||||||
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(StringLiteral))
|
(StringLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral)))))-}
|
(NumberLiteral)))))-}
|
||||||
|
@ -2,94 +2,86 @@
|
|||||||
(ExpressionStatements
|
(ExpressionStatements
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
{+(VarAssignment
|
{+(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))+}
|
(NumberLiteral))+}
|
||||||
{+(VarAssignment
|
{+(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Identifier)
|
||||||
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))+}
|
(NumberLiteral))+}
|
||||||
{-(VarAssignment
|
{-(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))-}
|
(NumberLiteral))-}
|
||||||
{-(VarAssignment
|
{-(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))-}
|
(NumberLiteral))-}
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
{+(Other "accessibility_modifier")+}
|
{ (Other "readonly")
|
||||||
{-(Other "readonly")-}
|
->(Identifier) }
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
{+(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
{ (Other "readonly")
|
||||||
(Other "readonly")
|
->(Identifier) }
|
||||||
(Identifier)
|
{ (Identifier)
|
||||||
(Other "type_annotation"
|
->(Other "readonly") }
|
||||||
|
{ (Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(StringLiteral))+}
|
->(Identifier) }
|
||||||
{+(VarAssignment
|
{ (NumberLiteral)
|
||||||
(Identifier)
|
->(Ty
|
||||||
(Other "type_annotation"
|
(Other "type_reference"
|
||||||
|
(Identifier))) }
|
||||||
|
{+(StringLiteral)+})
|
||||||
|
(FieldDecl
|
||||||
|
{ (Identifier)
|
||||||
|
->(Identifier) }
|
||||||
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))+}
|
(NumberLiteral))
|
||||||
{+(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))+}
|
{ (NumberLiteral)
|
||||||
{-(VarAssignment
|
->(NumberLiteral) }))))
|
||||||
(Other "readonly")
|
|
||||||
(Identifier)
|
|
||||||
(Other "type_annotation"
|
|
||||||
(Other "type_reference"
|
|
||||||
(Identifier)))
|
|
||||||
(NumberLiteral))-}
|
|
||||||
{-(VarAssignment
|
|
||||||
(Identifier)
|
|
||||||
(Other "type_annotation"
|
|
||||||
(Other "type_reference"
|
|
||||||
(Identifier)))
|
|
||||||
(NumberLiteral))-}
|
|
||||||
{-(VarAssignment
|
|
||||||
(Identifier)
|
|
||||||
(NumberLiteral))-})))
|
|
||||||
|
@ -2,87 +2,79 @@
|
|||||||
(ExpressionStatements
|
(ExpressionStatements
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
{+(VarAssignment
|
{+(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))+}
|
(NumberLiteral))+}
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
{ (Identifier)
|
{ (Identifier)
|
||||||
->(Identifier) }
|
->(Identifier) }
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
{-(VarAssignment
|
{-(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Identifier)
|
||||||
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))-}
|
(NumberLiteral))-}
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
{+(Other "readonly")+}
|
{ (Identifier)
|
||||||
{-(Other "accessibility_modifier")-}
|
->(Other "readonly") }
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
{+(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
{ (Identifier)
|
||||||
(Identifier)
|
->(Other "readonly") }
|
||||||
(Other "type_annotation"
|
{ (Other "readonly")
|
||||||
|
->(Identifier) }
|
||||||
|
{ (Identifier)
|
||||||
|
->(Ty
|
||||||
|
(Other "type_reference"
|
||||||
|
(Identifier))) }
|
||||||
|
{ (Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))+}
|
->(NumberLiteral) }
|
||||||
{+(VarAssignment
|
{-(StringLiteral)-})
|
||||||
(Identifier)
|
(FieldDecl
|
||||||
(Other "type_annotation"
|
{ (Identifier)
|
||||||
|
->(Identifier) }
|
||||||
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))+}
|
(NumberLiteral))
|
||||||
{+(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))+}
|
{ (NumberLiteral)
|
||||||
{-(VarAssignment
|
->(NumberLiteral) }))))
|
||||||
(Other "accessibility_modifier")
|
|
||||||
(Other "readonly")
|
|
||||||
(Identifier)
|
|
||||||
(Other "type_annotation"
|
|
||||||
(Other "type_reference"
|
|
||||||
(Identifier)))
|
|
||||||
(StringLiteral))-}
|
|
||||||
{-(VarAssignment
|
|
||||||
(Identifier)
|
|
||||||
(Other "type_annotation"
|
|
||||||
(Other "type_reference"
|
|
||||||
(Identifier)))
|
|
||||||
(NumberLiteral))-}
|
|
||||||
{-(VarAssignment
|
|
||||||
(Identifier)
|
|
||||||
(NumberLiteral))-})))
|
|
||||||
|
@ -2,61 +2,61 @@
|
|||||||
(ExpressionStatements
|
(ExpressionStatements
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral)))))
|
(NumberLiteral)))))
|
||||||
|
@ -2,64 +2,64 @@
|
|||||||
(ExpressionStatements
|
(ExpressionStatements
|
||||||
(Class
|
(Class
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
|
||||||
(Other "type_reference"
|
|
||||||
(Identifier)))
|
|
||||||
(NumberLiteral))
|
|
||||||
(VarAssignment
|
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Other "accessibility_modifier")
|
(Identifier)
|
||||||
|
(Identifier)
|
||||||
|
(Ty
|
||||||
|
(Other "type_reference"
|
||||||
|
(Identifier)))
|
||||||
|
(NumberLiteral))
|
||||||
|
(FieldDecl
|
||||||
|
(Identifier)
|
||||||
(Other "readonly")
|
(Other "readonly")
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(StringLiteral))
|
(StringLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Other "type_annotation"
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
(NumberLiteral))
|
(NumberLiteral))
|
||||||
(VarAssignment
|
(FieldDecl
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(NumberLiteral)))))
|
(NumberLiteral)))))
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{+(Program
|
{+(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))))
|
(Identifier)))))
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_query"
|
(Other "type_query"
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{+(Program
|
{+(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_query"
|
(Other "type_query"
|
||||||
(Identifier)))))
|
(Identifier)))))
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{-(Program
|
{-(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))))
|
(Identifier)))))
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_query"
|
(Other "type_query"
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{-(Program
|
{-(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_query"
|
(Other "type_query"
|
||||||
(Identifier)))))
|
(Identifier)))))
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
(Program
|
(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_query"
|
(Other "type_query"
|
||||||
{ (Identifier)
|
{ (Identifier)
|
||||||
->(Identifier) }))))
|
->(Identifier) }))))
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
(Program
|
(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
{ (Identifier)
|
{ (Identifier)
|
||||||
->(Identifier) }))))
|
->(Identifier) }))))
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_query"
|
(Other "type_query"
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
(Program
|
(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
(Identifier)))))
|
(Identifier)))))
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_query"
|
(Other "type_query"
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
(Program
|
(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_query"
|
(Other "type_query"
|
||||||
(Identifier)))))
|
(Identifier)))))
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_reference"
|
(Other "type_reference"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{+(Program
|
{+(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "intersection_type"
|
(Other "intersection_type"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{+(Program
|
{+(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_query"
|
(Other "type_query"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{-(Program
|
{-(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "intersection_type"
|
(Other "intersection_type"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{-(Program
|
{-(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_query"
|
(Other "type_query"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
(Program
|
(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_query"
|
(Other "type_query"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
(Program
|
(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "intersection_type"
|
(Other "intersection_type"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
(Program
|
(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "intersection_type"
|
(Other "intersection_type"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
(Program
|
(Program
|
||||||
(Other "lexical_declaration"
|
(Other "lexical_declaration"
|
||||||
(Other "variable_declarator"
|
(VarAssignment
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Ty
|
(Ty
|
||||||
(Other "type_query"
|
(Other "type_query"
|
||||||
|
Loading…
Reference in New Issue
Block a user