1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00
semantic/test/fixtures/go/for-statements.diffB-A.txt
2017-02-24 11:51:37 -05:00

68 lines
1.4 KiB
Plaintext

(Program
(Module
(Identifier))
(Function
(Identifier)
{+(For
(ExpressionStatements
(FunctionCall
(Identifier))
(Other "goto_statement"
(Identifier))))+}
{+(For
(VarDecl
(Other "expression_list"
(Identifier))
(Other "expression_list"
(NumberLiteral)))
(RelationalOperator
(Identifier)
(NumberLiteral))
(IncrementStatement)
(FunctionCall
(Identifier))
(Break
(Identifier)))+}
{+(For
(RelationalOperator
(Identifier)
(NumberLiteral))
(IncrementStatement)
(FunctionCall
(Identifier))
(Continue
(Identifier)))+}
(For
(FunctionCall
(Identifier))
{ (Other "goto_statement"
(Identifier)) -> (Continue) })
(For
(Other "expression_list"
(Identifier))
(Identifier)
(FunctionCall
(Identifier)
{+(Identifier)+})
(Break
{-(Identifier)-}))
{-(For
(FunctionCall
(Identifier))
(Continue
(Identifier)))-}
{-(For
(RelationalOperator
(Identifier)
(NumberLiteral))
(IncrementStatement)
(FunctionCall
(Identifier))
(Continue))-}
{-(For
(ExpressionStatements
(FunctionCall
(Identifier)
(Identifier))
(Break)))-}))