1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
semantic/test/fixtures/go/for-statements.diffB-A.txt

73 lines
1.4 KiB
Plaintext
Raw Normal View History

2017-02-23 21:06:49 +03:00
(Program
(Module
(Identifier))
(Function
(Identifier)
(Args)
2017-05-24 21:42:12 +03:00
{ (For
(FunctionCall
(Identifier))
2017-08-03 18:00:20 +03:00
(Other "goto_statement"
(Identifier)))
2017-05-24 21:42:12 +03:00
->(For
2017-02-23 21:06:49 +03:00
(ExpressionStatements
(FunctionCall
2017-08-03 18:00:20 +03:00
(Identifier))
(Other "goto_statement"
(Identifier)))) }
2017-02-23 21:06:49 +03:00
{+(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)))+}
2017-05-24 21:42:12 +03:00
{+(For
(FunctionCall
(Identifier))
2017-05-24 21:42:12 +03:00
(Continue))+}
2017-08-03 18:00:20 +03:00
(For
(Other "expression_list"
(Identifier))
2017-02-23 21:06:49 +03:00
(Identifier)
2017-08-03 18:00:20 +03:00
(FunctionCall
(Identifier)
2017-02-23 21:06:49 +03:00
{+(Identifier)+})
2017-08-03 18:00:20 +03:00
(Break
2017-02-23 21:06:49 +03:00
{-(Identifier)-}))
{-(For
(FunctionCall
(Identifier))
(Continue
(Identifier)))-}
{-(For
(RelationalOperator
(Identifier)
(NumberLiteral))
(IncrementStatement)
(FunctionCall
(Identifier))
(Continue))-}
{-(For
(ExpressionStatements
(FunctionCall
(Identifier)
(Identifier))
2017-08-03 18:00:20 +03:00
(Break)))-}))