1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

Parse fixture updates for the remaining languages

This commit is contained in:
Timothy Clem 2020-01-24 10:17:34 -08:00
parent a12272294e
commit dbcae9142e
550 changed files with 12773 additions and 6867 deletions

View File

@ -1,20 +1,20 @@
(Statements
(Function
(Empty)
(Empty)
(Empty)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(Plus
(Identifier)
(Identifier))))))
(Program
(Statement
(ExpressionStatement
(Expression
(Function
(StatementBlock
(Statement
(ReturnStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "a"))
(Expression
(Identifier "b")))))))
(FormalParameters
(RequiredParameter
(Identifier "a"))
(RequiredParameter
(Identifier "b"))))))))

View File

@ -1,20 +1,20 @@
(Statements
(Function
(Empty)
(Empty)
(Empty)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(Times
(Identifier)
(Identifier))))))
(Program
(Statement
(ExpressionStatement
(Expression
(Function
(StatementBlock
(Statement
(ReturnStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "b"))
(Expression
(Identifier "c")))))))
(FormalParameters
(RequiredParameter
(Identifier "b"))
(RequiredParameter
(Identifier "c"))))))))

View File

@ -1,8 +1,11 @@
(Statements
(Function
(Empty)
(Empty)
(Empty)
(StatementBlock
(Return
(TextElement)))))
(Program
(Statement
(ExpressionStatement
(Expression
(Function
(StatementBlock
(Statement
(ReturnStatement
(Expression
(String)))))
(FormalParameters))))))

View File

@ -1,8 +1,11 @@
(Statements
(Function
(Empty)
(Empty)
(Empty)
(StatementBlock
(Return
(TextElement)))))
(Program
(Statement
(ExpressionStatement
(Expression
(Function
(StatementBlock
(Statement
(ReturnStatement
(Expression
(String)))))
(FormalParameters))))))

View File

@ -1,3 +1,7 @@
(Statements
(Array
(TextElement)))
(Program
(Statement
(ExpressionStatement
(Expression
(Array
(Expression
(String)))))))

View File

@ -1,4 +1,9 @@
(Statements
(Array
(TextElement)
(TextElement)))
(Program
(Statement
(ExpressionStatement
(Expression
(Array
(Expression
(String))
(Expression
(String)))))))

View File

@ -1,18 +1,15 @@
(Statements
(Function
(Empty)
(Empty)
(Empty)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(Identifier)))))
(Program
(Statement
(ExpressionStatement
(Expression
(ArrowFunction
(StatementBlock
(Statement
(ReturnStatement
(Expression
(Identifier "h")))))
(FormalParameters
(RequiredParameter
(Identifier "f"))
(RequiredParameter
(Identifier "g"))))))))

View File

@ -1,18 +1,15 @@
(Statements
(Function
(Empty)
(Empty)
(Empty)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(Identifier)))))
(Program
(Statement
(ExpressionStatement
(Expression
(ArrowFunction
(StatementBlock
(Statement
(ReturnStatement
(Expression
(Identifier "g")))))
(FormalParameters
(RequiredParameter
(Identifier "f"))
(RequiredParameter
(Identifier "g"))))))))

View File

@ -1,9 +1,13 @@
(Statements
(VariableDeclaration
(Assignment
(Empty)
(Hash
(Assignment
(ShorthandPropertyIdentifier)
(Float)))
(Identifier))))
(Program
(Statement
(Declaration
(VariableDeclaration
(VariableDeclarator
(Expression
(Identifier "foo"))
(DestructuringPattern
(ObjectPattern
(AssignmentPattern
(ShorthandPropertyIdentifier "x")
(Expression
(Number "0"))))))))))

View File

@ -1,9 +1,13 @@
(Statements
(VariableDeclaration
(Assignment
(Empty)
(Hash
(Assignment
(ShorthandPropertyIdentifier)
(Float)))
(Identifier))))
(Program
(Statement
(Declaration
(VariableDeclaration
(VariableDeclarator
(Expression
(Identifier "foo"))
(DestructuringPattern
(ObjectPattern
(AssignmentPattern
(ShorthandPropertyIdentifier "y")
(Expression
(Number "1"))))))))))

View File

@ -1,4 +1,8 @@
(Statements
(Assignment
(Identifier)
(Float)))
(Program
(Statement
(ExpressionStatement
(Expression
(AssignmentExpression
(Identifier "x")
(Expression
(Number "0")))))))

View File

@ -1,4 +1,8 @@
(Statements
(Assignment
(Identifier)
(Float)))
(Program
(Statement
(ExpressionStatement
(Expression
(AssignmentExpression
(Identifier "x")
(Expression
(Number "1")))))))

View File

@ -1,4 +1,10 @@
(Statements
(RShift
(Identifier)
(Identifier)))
(Program
(Statement
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Identifier "j")))))))

View File

@ -1,4 +1,10 @@
(Statements
(RShift
(Identifier)
(Identifier)))
(Program
(Statement
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Identifier "k")))))))

View File

@ -1,4 +1,10 @@
(Statements
(Or
(Identifier)
(Identifier)))
(Program
(Statement
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Identifier "j")))))))

View File

@ -1,4 +1,10 @@
(Statements
(And
(Identifier)
(Identifier)))
(Program
(Statement
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Identifier "j")))))))

View File

@ -1,21 +1,44 @@
(Statements
(For
(Assignment
(Identifier)
(Float))
(LessThan
(Identifier)
(Float))
(Update
(Identifier))
(Statements
(If
(StrictEqual
(Identifier)
(Float))
(Statements
(Break
(Empty)))
(Empty))
(Empty)
(Identifier))))
(Program
(Statement
(ForStatement
(Statement
(StatementBlock
(Statement
(IfStatement
(Statement
(StatementBlock
(Statement
(BreakStatement))))
(ParenthesizedExpression
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Number "4")))))))
(Statement
(EmptyStatement ";"))
(Statement
(ExpressionStatement
(Expression
(Identifier "i"))))))
(ExpressionStatement
(Expression
(AssignmentExpression
(Identifier "i")
(Expression
(Number "0")))))
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Number "10")))))
(Expression
(UpdateExpression
(Token)
(Expression
(Identifier "i")))))))

View File

@ -1,21 +1,44 @@
(Statements
(For
(Assignment
(Identifier)
(Float))
(LessThan
(Identifier)
(Float))
(Update
(Identifier))
(Statements
(If
(StrictEqual
(Identifier)
(Float))
(Statements
(Continue
(Empty)))
(Empty))
(Empty)
(Identifier))))
(Program
(Statement
(ForStatement
(Statement
(StatementBlock
(Statement
(IfStatement
(Statement
(StatementBlock
(Statement
(ContinueStatement))))
(ParenthesizedExpression
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Number "4")))))))
(Statement
(EmptyStatement ";"))
(Statement
(ExpressionStatement
(Expression
(Identifier "i"))))))
(ExpressionStatement
(Expression
(AssignmentExpression
(Identifier "i")
(Expression
(Number "0")))))
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Number "10")))))
(Expression
(UpdateExpression
(Token)
(Expression
(Identifier "i")))))))

View File

@ -1,20 +1,24 @@
(Statements
(Call
(MemberAccess
(This)
(Identifier))
(Function
(Empty)
(Empty)
(Empty)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(MemberAccess
(Identifier)
(Identifier)))))
(Empty)))
(Program
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "map")
(Expression
(This "this"))))
(Arguments
(Expression
(Function
(StatementBlock
(Statement
(ReturnStatement
(Expression
(MemberExpression
(PropertyIdentifier "b")
(Expression
(Identifier "a")))))))
(FormalParameters
(RequiredParameter
(Identifier "a")))))))))))

View File

@ -1,20 +1,24 @@
(Statements
(Call
(MemberAccess
(This)
(Identifier))
(Function
(Empty)
(Empty)
(Empty)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(MemberAccess
(Identifier)
(Identifier)))))
(Empty)))
(Program
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "reduce")
(Expression
(This "this"))))
(Arguments
(Expression
(Function
(StatementBlock
(Statement
(ReturnStatement
(Expression
(MemberExpression
(PropertyIdentifier "a")
(Expression
(Identifier "b")))))))
(FormalParameters
(RequiredParameter
(Identifier "a")))))))))))

View File

@ -1,21 +1,33 @@
(Statements
(Return
(Call
(MemberAccess
(Call
(MemberAccess
(Call
(MemberAccess
(Identifier)
(Identifier))
(Empty))
(Identifier))
(MemberAccess
(Identifier)
(Identifier))
(Empty))
(Identifier))
(MemberAccess
(Identifier)
(Identifier))
(Empty))))
(Program
(Statement
(ReturnStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "fail")
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "done")
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "promise")
(Expression
(Identifier "returned"))))
(Arguments)))))
(Arguments
(Expression
(MemberExpression
(PropertyIdentifier "resolve")
(Expression
(Identifier "newDefer")))))))))
(Arguments
(Expression
(MemberExpression
(PropertyIdentifier "reject")
(Expression
(Identifier "newDefer"))))))))))

View File

@ -1,21 +1,33 @@
(Statements
(Return
(Call
(MemberAccess
(Call
(MemberAccess
(Call
(MemberAccess
(Identifier)
(Identifier))
(Empty))
(Identifier))
(MemberAccess
(Identifier)
(Identifier))
(Empty))
(Identifier))
(MemberAccess
(Identifier)
(Identifier))
(Empty))))
(Program
(Statement
(ReturnStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "fail")
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "done")
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "promise")
(Expression
(Identifier "returned"))))
(Arguments)))))
(Arguments
(Expression
(MemberExpression
(PropertyIdentifier "resolve")
(Expression
(Identifier "otherDefer")))))))))
(Arguments
(Expression
(MemberExpression
(PropertyIdentifier "reject")
(Expression
(Identifier "otherDefer"))))))))))

View File

@ -1,51 +1,40 @@
(Statements
(Class
(TypeIdentifier)
(Statements
(PublicFieldDefinition
(Empty)
(Empty)
(Identifier)
(Float))
(Method
(Empty)
(Empty)
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(Identifier))))
(Method
(Empty)
(Empty)
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(Identifier))))
(Method
(Empty)
(Empty)
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(Identifier)))))))
(Program
(Statement
(Declaration
(ClassDeclaration
(ClassBody
(PublicFieldDefinition
(Expression
(Number "5"))
(PropertyIdentifier "bar"))
(MethodDefinition
(StatementBlock
(Statement
(ReturnStatement
(Expression
(Identifier "a")))))
(PropertyIdentifier "one")
(FormalParameters
(RequiredParameter
(Identifier "a"))))
(MethodDefinition
(StatementBlock
(Statement
(ReturnStatement
(Expression
(Identifier "b")))))
(PropertyIdentifier "two")
(FormalParameters
(RequiredParameter
(Identifier "b"))))
(MethodDefinition
(StatementBlock
(Statement
(ReturnStatement
(Expression
(Identifier "c")))))
(PropertyIdentifier "three")
(FormalParameters
(RequiredParameter
(Identifier "c")))))
(TypeIdentifier "Foo")))))

View File

@ -1,46 +1,36 @@
(Statements
(Class
(TypeIdentifier)
(Statements
(Method
(Empty)
(Empty)
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(Identifier))))
(Method
(Empty)
(Empty)
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(Identifier))))
(Method
(Empty)
(Empty)
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(Identifier)))))))
(Program
(Statement
(Declaration
(ClassDeclaration
(ClassBody
(MethodDefinition
(StatementBlock
(Statement
(ReturnStatement
(Expression
(Identifier "a")))))
(PropertyIdentifier "foo")
(FormalParameters
(RequiredParameter
(Identifier "a"))))
(MethodDefinition
(StatementBlock
(Statement
(ReturnStatement
(Expression
(Identifier "b")))))
(PropertyIdentifier "bar")
(FormalParameters
(RequiredParameter
(Identifier "b"))))
(MethodDefinition
(StatementBlock
(Statement
(ReturnStatement
(Expression
(Identifier "c")))))
(PropertyIdentifier "baz")
(FormalParameters
(RequiredParameter
(Identifier "c")))))
(TypeIdentifier "Foo")))))

View File

@ -1,8 +1,14 @@
(Statements
(SequenceExpression
(Assignment
(Identifier)
(Float))
(Assignment
(Identifier)
(Float))))
(Program
(Statement
(ExpressionStatement
(SequenceExpression
(Expression
(AssignmentExpression
(Identifier "a")
(Expression
(Number "1"))))
(Expression
(AssignmentExpression
(Identifier "b")
(Expression
(Number "2"))))))))

View File

@ -1,13 +1,25 @@
(Statements
(Assignment
(Identifier)
(Hash
(KeyValue
(Identifier)
(SequenceExpression
(Float)
(SequenceExpression
(Plus
(Float)
(Float))
(Float)))))))
(Program
(Statement
(ExpressionStatement
(Expression
(AssignmentExpression
(Identifier "c")
(Expression
(Object
(Pair
(Expression
(ParenthesizedExpression
(SequenceExpression
(Expression
(Number "3"))
(SequenceExpression
(Expression
(BinaryExpression
(Token)
(Expression
(Number "4"))
(Expression
(Number "5"))))
(Expression
(Number "6"))))))
(PropertyIdentifier "d")))))))))

View File

@ -1,4 +1 @@
(Statements
(Context
(Comment)
(Empty)))
(Program)

View File

@ -1,4 +1 @@
(Statements
(Context
(Comment)
(Empty)))
(Program)

View File

@ -1,8 +1,14 @@
(Statements
(New
(MemberAccess
(Identifier)
(Identifier))
(Empty)
(Float)
(TextElement)))
(Program
(Statement
(ExpressionStatement
(Expression
(NewExpression
(Arguments
(Expression
(Number "1"))
(Expression
(String)))
(MemberExpression
(PropertyIdentifier "Klass")
(Expression
(Identifier "module"))))))))

View File

@ -1,8 +1,14 @@
(Statements
(New
(MemberAccess
(Identifier)
(Identifier))
(Empty)
(Float)
(TextElement)))
(Program
(Statement
(ExpressionStatement
(Expression
(NewExpression
(Arguments
(Expression
(Number "1"))
(Expression
(String)))
(MemberExpression
(PropertyIdentifier "Klass")
(Expression
(Identifier "module"))))))))

View File

@ -1,21 +1,44 @@
(Statements
(For
(Assignment
(Identifier)
(Float))
(LessThan
(Identifier)
(Float))
(Update
(Identifier))
(Statements
(If
(StrictEqual
(Identifier)
(Float))
(Statements
(Continue
(Empty)))
(Empty))
(Empty)
(Identifier))))
(Program
(Statement
(ForStatement
(Statement
(StatementBlock
(Statement
(IfStatement
(Statement
(StatementBlock
(Statement
(ContinueStatement))))
(ParenthesizedExpression
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Number "4")))))))
(Statement
(EmptyStatement ";"))
(Statement
(ExpressionStatement
(Expression
(Identifier "i"))))))
(ExpressionStatement
(Expression
(AssignmentExpression
(Identifier "i")
(Expression
(Number "0")))))
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Number "10")))))
(Expression
(UpdateExpression
(Token)
(Expression
(Identifier "i")))))))

View File

@ -1,21 +1,44 @@
(Statements
(For
(Assignment
(Identifier)
(Float))
(LessThan
(Identifier)
(Float))
(Update
(Identifier))
(Statements
(If
(StrictEqual
(Identifier)
(Float))
(Statements
(Break
(Empty)))
(Empty))
(Empty)
(Identifier))))
(Program
(Statement
(ForStatement
(Statement
(StatementBlock
(Statement
(IfStatement
(Statement
(StatementBlock
(Statement
(BreakStatement))))
(ParenthesizedExpression
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Number "4")))))))
(Statement
(EmptyStatement ";"))
(Statement
(ExpressionStatement
(Expression
(Identifier "i"))))))
(ExpressionStatement
(Expression
(AssignmentExpression
(Identifier "i")
(Expression
(Number "0")))))
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Number "10")))))
(Expression
(UpdateExpression
(Token)
(Expression
(Identifier "i")))))))

View File

@ -1,5 +1,12 @@
(Statements
(Delete
(Subscript
(Identifier)
(TextElement))))
(Program
(Statement
(ExpressionStatement
(Expression
(UnaryExpression
(Token)
(Expression
(SubscriptExpression
(Expression
(Identifier "thing"))
(Expression
(String)))))))))

View File

@ -1,5 +1,11 @@
(Statements
(Delete
(MemberAccess
(Identifier)
(Identifier))))
(Program
(Statement
(ExpressionStatement
(Expression
(UnaryExpression
(Token)
(Expression
(MemberExpression
(PropertyIdentifier "prop")
(Expression
(Identifier "thing")))))))))

View File

@ -1,10 +1,20 @@
(Statements
(DoWhile
(Boolean)
(Statements
(Call
(MemberAccess
(Identifier)
(Identifier))
(Identifier)
(Empty)))))
(Program
(Statement
(DoStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "log")
(Expression
(Identifier "console"))))
(Arguments
(Expression
(Identifier "insert")))))))))
(ParenthesizedExpression
(Expression
(True "true"))))))

View File

@ -1,10 +1,20 @@
(Statements
(DoWhile
(Boolean)
(Statements
(Call
(MemberAccess
(Identifier)
(Identifier))
(Identifier)
(Empty)))))
(Program
(Statement
(DoStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "log")
(Expression
(Identifier "console"))))
(Arguments
(Expression
(Identifier "replacement")))))))))
(ParenthesizedExpression
(Expression
(False "false"))))))

View File

@ -1,54 +1,97 @@
(Statements
(QualifiedExport)
(QualifiedExport)
(DefaultExport
(VariableDeclaration
(Assignment
(Empty)
(Identifier)
(Empty))
(Assignment
(Empty)
(Identifier)
(Empty))
(Assignment
(Empty)
(Identifier)
(Empty))))
(DefaultExport
(VariableDeclaration
(Assignment
(Empty)
(Identifier)
(Identifier))
(Assignment
(Empty)
(Identifier)
(Identifier))
(Assignment
(Empty)
(Identifier)
(Empty))
(Assignment
(Empty)
(Identifier)
(Empty))))
(DefaultExport
(Identifier))
(DefaultExport
(Function
(Empty)
(Empty)
(Empty)
(StatementBlock)))
(DefaultExport
(Function
(Empty)
(Empty)
(Identifier)
(StatementBlock)))
(QualifiedExport)
(DefaultExport
(TextElement))
(QualifiedExportFrom)
(QualifiedExportFrom))
(Program
(Statement
(ExportStatement
(ExportClause
(ExportSpecifier
(Identifier "name1"))
(ExportSpecifier
(Identifier "name2"))
(ExportSpecifier
(Identifier "name3"))
(ExportSpecifier
(Identifier "nameN")))))
(Statement
(ExportStatement
(ExportClause
(ExportSpecifier
(Identifier "name1")
(Identifier "variable1"))
(ExportSpecifier
(Identifier "name2")
(Identifier "variable2"))
(ExportSpecifier
(Identifier "nameN")))))
(Statement
(ExportStatement
(Declaration
(LexicalDeclaration
(VariableDeclarator
(Identifier "name1"))
(VariableDeclarator
(Identifier "name2"))
(VariableDeclarator
(Identifier "nameN"))))))
(Statement
(ExportStatement
(Declaration
(LexicalDeclaration
(VariableDeclarator
(Expression
(Identifier "value1"))
(Identifier "name1"))
(VariableDeclarator
(Expression
(Identifier "value2"))
(Identifier "name2"))
(VariableDeclarator
(Identifier "name3"))
(VariableDeclarator
(Identifier "nameN"))))))
(Statement
(ExportStatement
(Expression
(Identifier "namedFunction"))))
(Statement
(ExportStatement
(Expression
(Function
(StatementBlock)
(FormalParameters)))))
(Statement
(ExportStatement
(Expression
(Function
(StatementBlock)
(Identifier "name1")
(FormalParameters)))))
(Statement
(ExportStatement
(ExportClause
(ExportSpecifier
(Identifier "default")
(Identifier "name1")))))
(Statement
(ExportStatement
(String)))
(Statement
(ExportStatement
(String)
(ExportClause
(ExportSpecifier
(Identifier "name1"))
(ExportSpecifier
(Identifier "name2"))
(ExportSpecifier
(Identifier "nameN")))))
(Statement
(ExportStatement
(String)
(ExportClause
(ExportSpecifier
(Identifier "name1")
(Identifier "import1"))
(ExportSpecifier
(Identifier "name2")
(Identifier "import2"))
(ExportSpecifier
(Identifier "nameN"))))))

View File

@ -1,54 +1,97 @@
(Statements
(QualifiedExport)
(QualifiedExport)
(DefaultExport
(VariableDeclaration
(Assignment
(Empty)
(Identifier)
(Empty))
(Assignment
(Empty)
(Identifier)
(Empty))
(Assignment
(Empty)
(Identifier)
(Empty))))
(DefaultExport
(VariableDeclaration
(Assignment
(Empty)
(Identifier)
(Identifier))
(Assignment
(Empty)
(Identifier)
(Identifier))
(Assignment
(Empty)
(Identifier)
(Empty))
(Assignment
(Empty)
(Identifier)
(Empty))))
(DefaultExport
(Identifier))
(DefaultExport
(Function
(Empty)
(Empty)
(Identifier)
(StatementBlock)))
(DefaultExport
(Function
(Empty)
(Empty)
(Empty)
(StatementBlock)))
(QualifiedExport)
(DefaultExport
(TextElement))
(QualifiedExportFrom)
(QualifiedExportFrom))
(Program
(Statement
(ExportStatement
(ExportClause
(ExportSpecifier
(Identifier "name4"))
(ExportSpecifier
(Identifier "name5"))
(ExportSpecifier
(Identifier "name6"))
(ExportSpecifier
(Identifier "nameZ")))))
(Statement
(ExportStatement
(ExportClause
(ExportSpecifier
(Identifier "name2")
(Identifier "variable2"))
(ExportSpecifier
(Identifier "name3")
(Identifier "variable3"))
(ExportSpecifier
(Identifier "nameY")))))
(Statement
(ExportStatement
(Declaration
(LexicalDeclaration
(VariableDeclarator
(Identifier "name3"))
(VariableDeclarator
(Identifier "name4"))
(VariableDeclarator
(Identifier "nameT"))))))
(Statement
(ExportStatement
(Declaration
(LexicalDeclaration
(VariableDeclarator
(Expression
(Identifier "value2"))
(Identifier "name2"))
(VariableDeclarator
(Expression
(Identifier "value3"))
(Identifier "name3"))
(VariableDeclarator
(Identifier "name4"))
(VariableDeclarator
(Identifier "nameO"))))))
(Statement
(ExportStatement
(Expression
(Identifier "otherNamedFunction"))))
(Statement
(ExportStatement
(Expression
(Function
(StatementBlock)
(Identifier "newName1")
(FormalParameters)))))
(Statement
(ExportStatement
(Expression
(Function
(StatementBlock)
(FormalParameters)))))
(Statement
(ExportStatement
(ExportClause
(ExportSpecifier
(Identifier "statement")
(Identifier "name2")))))
(Statement
(ExportStatement
(String)))
(Statement
(ExportStatement
(String)
(ExportClause
(ExportSpecifier
(Identifier "name7"))
(ExportSpecifier
(Identifier "name8"))
(ExportSpecifier
(Identifier "nameP")))))
(Statement
(ExportStatement
(String)
(ExportClause
(ExportSpecifier
(Identifier "name6")
(Identifier "import6"))
(ExportSpecifier
(Identifier "name7")
(Identifier "import7"))
(ExportSpecifier
(Identifier "nameB"))))))

View File

@ -1,2 +1,5 @@
(Statements
(Boolean))
(Program
(Statement
(ExpressionStatement
(Expression
(False "false")))))

View File

@ -1,3 +1,5 @@
(Statements
(Return
(Boolean)))
(Program
(Statement
(ReturnStatement
(Expression
(False "false")))))

View File

@ -1,8 +1,15 @@
(Statements
(ForEach
(Identifier)
(Identifier)
(Statements
(Call
(Identifier)
(Empty)))))
(Program
(Statement
(ForInStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "thing"))
(Arguments)))))))
(Identifier "thing")
(Expression
(Identifier "things")))))

View File

@ -1,8 +1,15 @@
(Statements
(ForEach
(Identifier)
(Identifier)
(Statements
(Call
(Identifier)
(Empty)))))
(Program
(Statement
(ForInStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "item"))
(Arguments)))))))
(Identifier "item")
(Expression
(Identifier "items")))))

View File

@ -1,18 +1,41 @@
(Statements
(For
(And
(Member
(Identifier)
(Identifier))
(Assignment
(Identifier)
(Float)))
(LessThan
(Identifier)
(Identifier))
(Update
(Identifier))
(Statements
(Call
(Identifier)
(Empty)))))
(Program
(Statement
(ForStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "doSomething"))
(Arguments)))))))
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "key"))
(Expression
(Identifier "something"))))
(Expression
(AssignmentExpression
(Identifier "i")
(Expression
(Number "0")))))))
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Identifier "n")))))
(Expression
(UpdateExpression
(Token)
(Expression
(Identifier "i")))))))

View File

@ -1,18 +1,41 @@
(Statements
(For
(And
(Member
(Identifier)
(Identifier))
(Assignment
(Identifier)
(Float)))
(LessThan
(Identifier)
(Identifier))
(Update
(Identifier))
(Statements
(Call
(Identifier)
(Empty)))))
(Program
(Statement
(ForStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "doOtherSomething"))
(Arguments)))))))
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "otherKey"))
(Expression
(Identifier "something"))))
(Expression
(AssignmentExpression
(Identifier "i")
(Expression
(Number "0")))))))
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Identifier "n")))))
(Expression
(UpdateExpression
(Token)
(Expression
(Identifier "i")))))))

View File

@ -1,10 +1,19 @@
(Statements
(ForEach
(Identifier)
(Identifier)
(Statements
(Call
(Identifier)
(Identifier)
(Empty))))
(Empty))
(Program
(Statement
(ForInStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "process"))
(Arguments
(Expression
(Identifier "item")))))))))
(Identifier "item")
(Expression
(Identifier "items"))))
(Statement
(EmptyStatement ";")))

View File

@ -1,10 +1,19 @@
(Statements
(ForEach
(Identifier)
(Identifier)
(Statements
(Call
(Identifier)
(Identifier)
(Empty))))
(Empty))
(Program
(Statement
(ForInStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "process"))
(Arguments
(Expression
(Identifier "thing")))))))))
(Identifier "thing")
(Expression
(Identifier "things"))))
(Statement
(EmptyStatement ";")))

View File

@ -1,19 +1,39 @@
(Statements
(For
(SequenceExpression
(Assignment
(Identifier)
(Float))
(Call
(Identifier)
(Empty)))
(LessThan
(Identifier)
(Float))
(Update
(Identifier))
(Statements
(Call
(Identifier)
(Identifier)
(Empty)))))
(Program
(Statement
(ForStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "log"))
(Arguments
(Expression
(Identifier "i")))))))))
(ExpressionStatement
(SequenceExpression
(Expression
(AssignmentExpression
(Identifier "i")
(Expression
(Number "0"))))
(Expression
(CallExpression
(Expression
(Identifier "init"))
(Arguments)))))
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Number "10")))))
(Expression
(UpdateExpression
(Token)
(Expression
(Identifier "i")))))))

View File

@ -1,19 +1,39 @@
(Statements
(For
(SequenceExpression
(Assignment
(Identifier)
(Float))
(Call
(Identifier)
(Empty)))
(LessThan
(Identifier)
(Float))
(Update
(Identifier))
(Statements
(Call
(Identifier)
(Identifier)
(Empty)))))
(Program
(Statement
(ForStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "log"))
(Arguments
(Expression
(Identifier "i")))))))))
(ExpressionStatement
(SequenceExpression
(Expression
(AssignmentExpression
(Identifier "i")
(Expression
(Number "0"))))
(Expression
(CallExpression
(Expression
(Identifier "init"))
(Arguments)))))
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(Number "100")))))
(Expression
(UpdateExpression
(Token)
(Expression
(Identifier "i")))))))

View File

@ -1,30 +1,38 @@
(Statements
(Call
(Identifier)
(Float)
(TextElement)
(Function
(Empty)
(Empty)
(Empty)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Call
(MemberAccess
(Identifier)
(Identifier))
(Identifier)
(Empty))
(Return
(Identifier))))
(Boolean)
(Empty)))
(Program
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "someFunction"))
(Arguments
(Expression
(Number "1"))
(Expression
(String))
(Expression
(Function
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "log")
(Expression
(Identifier "console"))))
(Arguments
(Expression
(Identifier "a")))))))
(Statement
(ReturnStatement
(Expression
(Identifier "b")))))
(FormalParameters
(RequiredParameter
(Identifier "a"))
(RequiredParameter
(Identifier "b")))))
(Expression
(True "true"))))))))

View File

@ -1,30 +1,38 @@
(Statements
(Call
(Identifier)
(Float)
(TextElement)
(Function
(Empty)
(Empty)
(Empty)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Call
(MemberAccess
(Identifier)
(Identifier))
(Identifier)
(Empty))
(Return
(Identifier))))
(Boolean)
(Empty)))
(Program
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "someFunction"))
(Arguments
(Expression
(Number "1"))
(Expression
(String))
(Expression
(Function
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "log")
(Expression
(Identifier "console"))))
(Arguments
(Expression
(Identifier "b")))))))
(Statement
(ReturnStatement
(Expression
(Identifier "c")))))
(FormalParameters
(RequiredParameter
(Identifier "b"))
(RequiredParameter
(Identifier "c")))))
(Expression
(False "false"))))))))

View File

@ -1,6 +1,12 @@
(Statements
(Call
(Identifier)
(Identifier)
(TextElement)
(Empty)))
(Program
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "someFunction"))
(Arguments
(Expression
(Identifier "arg1"))
(Expression
(String))))))))

View File

@ -1,6 +1,12 @@
(Statements
(Call
(Identifier)
(Identifier)
(TextElement)
(Empty)))
(Program
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "someFunction"))
(Arguments
(Expression
(Identifier "arg1"))
(Expression
(String))))))))

View File

@ -1,17 +1,15 @@
(Statements
(Function
(Empty)
(Empty)
(Empty)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Identifier))))
(Program
(Statement
(ExpressionStatement
(Expression
(Function
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(Identifier "arg2")))))
(FormalParameters
(RequiredParameter
(Identifier "arg1"))
(RequiredParameter
(Identifier "arg2"))))))))

View File

@ -1,17 +1,15 @@
(Statements
(Function
(Empty)
(Empty)
(Empty)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Identifier))))
(Program
(Statement
(ExpressionStatement
(Expression
(Function
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(Identifier "arg1")))))
(FormalParameters
(RequiredParameter
(Identifier "arg1"))
(RequiredParameter
(Identifier "arg2"))))))))

View File

@ -1,21 +1,23 @@
(Statements
(Function
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Yield
(Empty))
(Yield
(Identifier))))
(Empty))
(Program
(Statement
(Declaration
(GeneratorFunctionDeclaration
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(YieldExpression))))
(Statement
(ExpressionStatement
(Expression
(YieldExpression
(Expression
(Identifier "arg2")))))))
(Identifier "generateStuff")
(FormalParameters
(RequiredParameter
(Identifier "arg1"))
(RequiredParameter
(Identifier "arg2"))))))
(Statement
(EmptyStatement ";")))

View File

@ -1,21 +1,23 @@
(Statements
(Function
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Yield
(Empty))
(Yield
(Identifier))))
(Empty))
(Program
(Statement
(Declaration
(GeneratorFunctionDeclaration
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(YieldExpression))))
(Statement
(ExpressionStatement
(Expression
(YieldExpression
(Expression
(Identifier "arg2")))))))
(Identifier "generateNewStuff")
(FormalParameters
(RequiredParameter
(Identifier "arg1"))
(RequiredParameter
(Identifier "arg2"))))))
(Statement
(EmptyStatement ";")))

View File

@ -1,2 +1,5 @@
(Statements
(Identifier))
(Program
(Statement
(ExpressionStatement
(Expression
(Identifier "theVar")))))

View File

@ -1,2 +1,5 @@
(Statements
(Identifier))
(Program
(Statement
(ExpressionStatement
(Expression
(Identifier "theVar2")))))

View File

@ -1,14 +1,41 @@
(Statements
(If
(Identifier)
(Identifier)
(If
(Identifier)
(Identifier)
(If
(Identifier)
(Identifier)
(If
(Identifier)
(Identifier)
(Identifier))))))
(Program
(Statement
(IfStatement
(Statement
(IfStatement
(Statement
(IfStatement
(Statement
(IfStatement
(Statement
(ExpressionStatement
(Expression
(Identifier "g"))))
(Statement
(ExpressionStatement
(Expression
(Identifier "f"))))
(ParenthesizedExpression
(Expression
(Identifier "e")))))
(Statement
(ExpressionStatement
(Expression
(Identifier "d"))))
(ParenthesizedExpression
(Expression
(Identifier "c")))))
(Statement
(ExpressionStatement
(Expression
(Identifier "b"))))
(ParenthesizedExpression
(Expression
(Identifier "a")))))
(Statement
(ExpressionStatement
(Expression
(Identifier "y"))))
(ParenthesizedExpression
(Expression
(Identifier "x"))))))

View File

@ -1,16 +1,45 @@
(Statements
(If
(Identifier)
(Identifier)
(If
(Identifier)
(Statements
(Identifier))
(If
(Identifier)
(Identifier)
(If
(Identifier)
(Statements
(Identifier))
(Identifier))))))
(Program
(Statement
(IfStatement
(Statement
(IfStatement
(Statement
(IfStatement
(Statement
(IfStatement
(Statement
(ExpressionStatement
(Expression
(Identifier "o"))))
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(Identifier "n"))))))
(ParenthesizedExpression
(Expression
(Identifier "m")))))
(Statement
(ExpressionStatement
(Expression
(Identifier "l"))))
(ParenthesizedExpression
(Expression
(Identifier "k")))))
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(Identifier "j"))))))
(ParenthesizedExpression
(Expression
(Identifier "i")))))
(Statement
(ExpressionStatement
(Expression
(Identifier "h"))))
(ParenthesizedExpression
(Expression
(Identifier "g"))))))

View File

@ -1,9 +1,17 @@
(Statements
(If
(Identifier)
(Statements
(Call
(Identifier)
(Identifier)
(Empty)))
(Empty)))
(Program
(Statement
(IfStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "log"))
(Arguments
(Expression
(Identifier "y")))))))))
(ParenthesizedExpression
(Expression
(Identifier "x"))))))

View File

@ -1,12 +1,24 @@
(Statements
(If
(MemberAccess
(Identifier)
(Identifier))
(Statements
(Call
(Identifier)
(Identifier)
(Empty))
(Identifier))
(Empty)))
(Program
(Statement
(IfStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "log"))
(Arguments
(Expression
(Identifier "c")))))))
(Statement
(ExpressionStatement
(Expression
(Identifier "d"))))))
(ParenthesizedExpression
(Expression
(MemberExpression
(PropertyIdentifier "b")
(Expression
(Identifier "a"))))))))

View File

@ -1,15 +1,59 @@
(Statements
(Import)
(QualifiedAliasedImport
(Identifier))
(Import)
(Import)
(Import)
(Statements
(Import)
(Import))
(Statements
(Import)
(QualifiedAliasedImport
(Identifier)))
(SideEffectImport))
(Program
(Statement
(ImportStatement
(String)
(ImportClause
(Identifier "defaultMember"))))
(Statement
(ImportStatement
(String)
(ImportClause
(NamespaceImport
(Identifier "name")))))
(Statement
(ImportStatement
(String)
(ImportClause
(NamedImports
(ImportSpecifier
(Identifier "member"))))))
(Statement
(ImportStatement
(String)
(ImportClause
(NamedImports
(ImportSpecifier
(Identifier "member1"))
(ImportSpecifier
(Identifier "member2"))))))
(Statement
(ImportStatement
(String)
(ImportClause
(NamedImports
(ImportSpecifier
(Identifier "member1"))
(ImportSpecifier
(Identifier "alias2")
(Identifier "member2"))))))
(Statement
(ImportStatement
(String)
(ImportClause
(Identifier "defaultMember")
(NamedImports
(ImportSpecifier
(Identifier "member1"))
(ImportSpecifier
(Identifier "alias2")
(Identifier "member2"))))))
(Statement
(ImportStatement
(String)
(ImportClause
(Identifier "defaultMember")
(NamespaceImport
(Identifier "name")))))
(Statement
(ImportStatement
(String))))

View File

@ -1,15 +1,59 @@
(Statements
(Import)
(QualifiedAliasedImport
(Identifier))
(Import)
(Import)
(Import)
(Statements
(Import)
(Import))
(Statements
(Import)
(QualifiedAliasedImport
(Identifier)))
(SideEffectImport))
(Program
(Statement
(ImportStatement
(String)
(ImportClause
(Identifier "defaultMember"))))
(Statement
(ImportStatement
(String)
(ImportClause
(NamespaceImport
(Identifier "otherName")))))
(Statement
(ImportStatement
(String)
(ImportClause
(NamedImports
(ImportSpecifier
(Identifier "element"))))))
(Statement
(ImportStatement
(String)
(ImportClause
(NamedImports
(ImportSpecifier
(Identifier "element1"))
(ImportSpecifier
(Identifier "element2"))))))
(Statement
(ImportStatement
(String)
(ImportClause
(NamedImports
(ImportSpecifier
(Identifier "element1"))
(ImportSpecifier
(Identifier "elementAlias2")
(Identifier "element2"))))))
(Statement
(ImportStatement
(String)
(ImportClause
(Identifier "defaultMember")
(NamedImports
(ImportSpecifier
(Identifier "element1"))
(ImportSpecifier
(Identifier "elementAlias2")
(Identifier "element2"))))))
(Statement
(ImportStatement
(String)
(ImportClause
(Identifier "defaultMember")
(NamespaceImport
(Identifier "element")))))
(Statement
(ImportStatement
(String))))

View File

@ -1,22 +1,23 @@
(Statements
(Function
(Empty)
(Empty)
(Identifier)
(StatementBlock
(Return
(JsxElement
(JsxOpeningElement
(Identifier)
(Empty))
(JsxText)
(JsxElement
(JsxOpeningElement
(Identifier)
(Empty))
(JsxText)
(JsxClosingElement
(Identifier)))
(JsxText)
(JsxClosingElement
(Identifier)))))))
(Program
(Statement
(Declaration
(FunctionDeclaration
(StatementBlock
(Statement
(ReturnStatement
(Expression
(JsxElement
(JsxClosingElement
(Identifier "div"))
(JsxOpeningElement
(Identifier "div"))
(JsxText "\n ")
(JsxElement
(JsxClosingElement
(Identifier "Foo"))
(JsxOpeningElement
(Identifier "Foo"))
(JsxText "hello"))
(JsxText "\n "))))))
(Identifier "Something")
(FormalParameters)))))

View File

@ -1,23 +1,25 @@
(Statements
(Function
(Empty)
(Empty)
(Identifier)
(StatementBlock
(Return
(JsxElement
(JsxOpeningElement
(Identifier)
(Empty))
(JsxText)
(JsxElement
(JsxOpeningElement
(Identifier)
(TypeArguments
(TypeIdentifier)))
(JsxText)
(JsxClosingElement
(Identifier)))
(JsxText)
(JsxClosingElement
(Identifier)))))))
(Program
(Statement
(Declaration
(FunctionDeclaration
(StatementBlock
(Statement
(ReturnStatement
(Expression
(JsxElement
(JsxClosingElement
(Identifier "div"))
(JsxOpeningElement
(Identifier "div"))
(JsxText "\n ")
(JsxElement
(JsxClosingElement
(Identifier "Foo"))
(JsxOpeningElement
(Identifier "Foo")
(TypeArguments
(TypeIdentifier "T")))
(JsxText "goodbye"))
(JsxText "\n "))))))
(Identifier "Something")
(FormalParameters)))))

View File

@ -1,5 +1,8 @@
(Statements
(AugmentedAssignment
(Plus
(Identifier)
(Float))))
(Program
(Statement
(ExpressionStatement
(Expression
(AugmentedAssignmentExpression
(Identifier "x")
(Expression
(Number "1")))))))

View File

@ -1,5 +1,8 @@
(Statements
(AugmentedAssignment
(Plus
(Identifier)
(Float))))
(Program
(Statement
(ExpressionStatement
(Expression
(AugmentedAssignmentExpression
(Identifier "x")
(Expression
(Number "2")))))))

View File

@ -1,10 +1,25 @@
(Statements
(Minus
(Plus
(Identifier)
(Times
(Identifier)
(Float)))
(Modulo
(Identifier)
(Float))))
(Program
(Statement
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "j"))
(Expression
(Number "3"))))))
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "j"))
(Expression
(Number "5")))))))))

View File

@ -1,10 +1,25 @@
(Statements
(Minus
(Plus
(Identifier)
(Times
(Identifier)
(Float)))
(Modulo
(Identifier)
(Float))))
(Program
(Statement
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "i"))
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "j"))
(Expression
(Number "2"))))))
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "j"))
(Expression
(Number "4")))))))))

View File

@ -1,6 +1,11 @@
(Statements
(Assignment
(MemberAccess
(Identifier)
(Identifier))
(Float)))
(Program
(Statement
(ExpressionStatement
(Expression
(AssignmentExpression
(MemberExpression
(PropertyIdentifier "x")
(Expression
(Identifier "y")))
(Expression
(Number "0")))))))

View File

@ -1,6 +1,11 @@
(Statements
(Assignment
(MemberAccess
(Identifier)
(Identifier))
(Float)))
(Program
(Statement
(ExpressionStatement
(Expression
(AssignmentExpression
(MemberExpression
(PropertyIdentifier "x")
(Expression
(Identifier "y")))
(Expression
(Number "1")))))))

View File

@ -1,4 +1,8 @@
(Statements
(MemberAccess
(Identifier)
(Identifier)))
(Program
(Statement
(ExpressionStatement
(Expression
(MemberExpression
(PropertyIdentifier "someProperty")
(Expression
(Identifier "x")))))))

View File

@ -1,4 +1,8 @@
(Statements
(MemberAccess
(Identifier)
(Identifier)))
(Program
(Statement
(ExpressionStatement
(Expression
(MemberExpression
(PropertyIdentifier "someOtherProperty")
(Expression
(Identifier "x")))))))

View File

@ -1,8 +1,15 @@
(Statements
(Call
(MemberAccess
(Identifier)
(Identifier))
(Identifier)
(TextElement)
(Empty)))
(Program
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "someMethod")
(Expression
(Identifier "object"))))
(Arguments
(Expression
(Identifier "arg1"))
(Expression
(String))))))))

View File

@ -1,8 +1,15 @@
(Statements
(Call
(MemberAccess
(Identifier)
(Identifier))
(Identifier)
(TextElement)
(Empty)))
(Program
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "someMethod")
(Expression
(Identifier "object"))))
(Arguments
(Expression
(Identifier "arg1"))
(Expression
(String))))))))

View File

@ -1,18 +1,17 @@
(Statements
(Function
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Identifier)))
(Empty))
(Program
(Statement
(Declaration
(FunctionDeclaration
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(Identifier "arg2")))))
(Identifier "myFunction")
(FormalParameters
(RequiredParameter
(Identifier "arg1"))
(RequiredParameter
(Identifier "arg2"))))))
(Statement
(EmptyStatement ";")))

View File

@ -1,9 +1,13 @@
(Statements
(Function
(Empty)
(Empty)
(Identifier)
(StatementBlock
(Return
(Boolean))))
(Empty))
(Program
(Statement
(Declaration
(FunctionDeclaration
(StatementBlock
(Statement
(ReturnStatement
(Expression
(False "false")))))
(Identifier "anotherFunction")
(FormalParameters))))
(Statement
(EmptyStatement ";")))

View File

@ -1,23 +1,27 @@
(Statements
(Function
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(DoWhile
(Identifier)
(Statements
(Call
(Identifier)
(Identifier)
(Empty)))))))
(Program
(Statement
(Declaration
(FunctionDeclaration
(StatementBlock
(Statement
(DoStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "something"))
(Arguments
(Expression
(Identifier "arg1")))))))))
(ParenthesizedExpression
(Expression
(Identifier "arg2"))))))
(Identifier "f")
(FormalParameters
(RequiredParameter
(Identifier "arg1"))
(RequiredParameter
(Identifier "arg2")))))))

View File

@ -1,23 +1,27 @@
(Statements
(Function
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(DoWhile
(Identifier)
(Statements
(Call
(Identifier)
(Identifier)
(Empty)))))))
(Program
(Statement
(Declaration
(FunctionDeclaration
(StatementBlock
(Statement
(DoStatement
(Statement
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(Identifier "something"))
(Arguments
(Expression
(Identifier "arg2")))))))))
(ParenthesizedExpression
(Expression
(Identifier "arg1"))))))
(Identifier "f")
(FormalParameters
(RequiredParameter
(Identifier "arg1"))
(RequiredParameter
(Identifier "arg2")))))))

View File

@ -1,43 +1,45 @@
(Statements
(Function
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Function
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Call
(MemberAccess
(Identifier)
(Identifier))
(Identifier)
(Empty))
(Call
(MemberAccess
(Identifier)
(Identifier))
(Identifier)
(Empty)))))))
(Program
(Statement
(Declaration
(FunctionDeclaration
(StatementBlock
(Statement
(Declaration
(FunctionDeclaration
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "log")
(Expression
(Identifier "console"))))
(Arguments
(Expression
(Identifier "arg3")))))))
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "log")
(Expression
(Identifier "console"))))
(Arguments
(Expression
(Identifier "arg4"))))))))
(Identifier "child")
(FormalParameters
(RequiredParameter
(Identifier "arg3"))
(RequiredParameter
(Identifier "arg4")))))))
(Identifier "parent")
(FormalParameters
(RequiredParameter
(Identifier "arg1"))
(RequiredParameter
(Identifier "arg2")))))))

View File

@ -1,43 +1,45 @@
(Statements
(Function
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Function
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Call
(MemberAccess
(Identifier)
(Identifier))
(Identifier)
(Empty))
(Call
(MemberAccess
(Identifier)
(Identifier))
(Identifier)
(Empty)))))))
(Program
(Statement
(Declaration
(FunctionDeclaration
(StatementBlock
(Statement
(Declaration
(FunctionDeclaration
(StatementBlock
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "log")
(Expression
(Identifier "console"))))
(Arguments
(Expression
(Identifier "arg1")))))))
(Statement
(ExpressionStatement
(Expression
(CallExpression
(Expression
(MemberExpression
(PropertyIdentifier "log")
(Expression
(Identifier "console"))))
(Arguments
(Expression
(Identifier "arg2"))))))))
(Identifier "child")
(FormalParameters
(RequiredParameter
(Identifier "arg3"))
(RequiredParameter
(Identifier "arg4")))))))
(Identifier "parent")
(FormalParameters
(RequiredParameter
(Identifier "arg1"))
(RequiredParameter
(Identifier "arg2")))))))

View File

@ -1,2 +1,5 @@
(Statements
(Null))
(Program
(Statement
(ExpressionStatement
(Expression
(Null "null")))))

View File

@ -1,3 +1,5 @@
(Statements
(Return
(Null)))
(Program
(Statement
(ReturnStatement
(Expression
(Null "null")))))

View File

@ -1,2 +1,5 @@
(Statements
(Float))
(Program
(Statement
(ExpressionStatement
(Expression
(Number "101")))))

View File

@ -1,2 +1,5 @@
(Statements
(Float))
(Program
(Statement
(ExpressionStatement
(Expression
(Number "102")))))

View File

@ -1,5 +1,9 @@
(Statements
(Hash
(KeyValue
(TextElement)
(TextElement))))
(Program
(Statement
(ExpressionStatement
(Expression
(Object
(Pair
(Expression
(String))
(String)))))))

View File

@ -1,11 +1,17 @@
(Statements
(Hash
(KeyValue
(TextElement)
(TextElement))
(KeyValue
(TextElement)
(TextElement))
(KeyValue
(TextElement)
(TextElement))))
(Program
(Statement
(ExpressionStatement
(Expression
(Object
(Pair
(Expression
(String))
(String))
(Pair
(Expression
(String))
(String))
(Pair
(Expression
(String))
(String)))))))

View File

@ -1,23 +1,22 @@
(Statements
(Hash
(Method
(Empty)
(Empty)
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(Plus
(Identifier)
(Identifier)))))))
(Program
(Statement
(ExpressionStatement
(Expression
(Object
(MethodDefinition
(StatementBlock
(Statement
(ReturnStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "a"))
(Expression
(Identifier "b")))))))
(PropertyIdentifier "add")
(FormalParameters
(RequiredParameter
(Identifier "a"))
(RequiredParameter
(Identifier "b")))))))))

View File

@ -1,23 +1,22 @@
(Statements
(Hash
(Method
(Empty)
(Empty)
(Empty)
(Empty)
(Identifier)
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(RequiredParameter
(Empty)
(Empty)
(Identifier)
(Empty))
(StatementBlock
(Return
(Minus
(Identifier)
(Identifier)))))))
(Program
(Statement
(ExpressionStatement
(Expression
(Object
(MethodDefinition
(StatementBlock
(Statement
(ReturnStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "a"))
(Expression
(Identifier "b")))))))
(PropertyIdentifier "subtract")
(FormalParameters
(RequiredParameter
(Identifier "a"))
(RequiredParameter
(Identifier "b")))))))))

View File

@ -1,2 +1,7 @@
(Statements
(Regex))
(Program
(Statement
(ExpressionStatement
(Expression
(Regex
(RegexFlags "g")
(RegexPattern "one"))))))

View File

@ -1,2 +1,7 @@
(Statements
(Regex))
(Program
(Statement
(ExpressionStatement
(Expression
(Regex
(RegexFlags "gim")
(RegexPattern "on[^/]afe"))))))

View File

@ -1,4 +1,10 @@
(Statements
(LessThan
(Identifier)
(Identifier)))
(Program
(Statement
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "x"))
(Expression
(Identifier "y")))))))

View File

@ -1,4 +1,10 @@
(Statements
(LessThanEqual
(Identifier)
(Identifier)))
(Program
(Statement
(ExpressionStatement
(Expression
(BinaryExpression
(Token)
(Expression
(Identifier "x"))
(Expression
(Identifier "y")))))))

View File

@ -1,3 +1,5 @@
(Statements
(Return
(Float)))
(Program
(Statement
(ReturnStatement
(Expression
(Number "5")))))

View File

@ -1,3 +1,3 @@
(Statements
(Return
(Empty)))
(Program
(Statement
(ReturnStatement)))

View File

@ -1,2 +1,5 @@
(Statements
(TextElement))
(Program
(Statement
(ExpressionStatement
(Expression
(String)))))

View File

@ -1,2 +1,5 @@
(Statements
(TextElement))
(Program
(Statement
(ExpressionStatement
(Expression
(String)))))

View File

@ -1,6 +1,12 @@
(Statements
(Assignment
(Subscript
(Identifier)
(TextElement))
(Float)))
(Program
(Statement
(ExpressionStatement
(Expression
(AssignmentExpression
(SubscriptExpression
(Expression
(Identifier "y"))
(Expression
(String)))
(Expression
(Number "0")))))))

View File

@ -1,6 +1,12 @@
(Statements
(Assignment
(Subscript
(Identifier)
(TextElement))
(Float)))
(Program
(Statement
(ExpressionStatement
(Expression
(AssignmentExpression
(SubscriptExpression
(Expression
(Identifier "y"))
(Expression
(String)))
(Expression
(Number "1")))))))

Some files were not shown because too many files have changed in this diff Show More