mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
78 lines
1.6 KiB
Plaintext
78 lines
1.6 KiB
Plaintext
(Program
|
|
(Module
|
|
(Identifier))
|
|
(Function
|
|
(Identifier)
|
|
(Args)
|
|
{ (For
|
|
(ExpressionStatements
|
|
(FunctionCall
|
|
(Identifier)
|
|
)(Other"goto_statement"(Identifier))))
|
|
->(For
|
|
(FunctionCall
|
|
(Identifier))
|
|
(Other"goto_statement"(Identifier))) }
|
|
{+(For
|
|
(Other "expression_list"
|
|
(Identifier))
|
|
(Identifier)
|
|
(FunctionCall
|
|
(Identifier))
|
|
(Break
|
|
(Identifier)))+}
|
|
{+(For
|
|
(FunctionCall
|
|
(Identifier))
|
|
(Continue
|
|
(Identifier)))+}
|
|
{+(For
|
|
(RelationalOperator
|
|
(Identifier)
|
|
(NumberLiteral))
|
|
(IncrementStatement)
|
|
(FunctionCall
|
|
(Identifier))
|
|
(Continue))+}
|
|
{+(For
|
|
(ExpressionStatements
|
|
(FunctionCall
|
|
(Identifier)
|
|
(Identifier))
|
|
(Break)))+}
|
|
{-(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))
|
|
(Continue))-}
|
|
{-(For
|
|
(Other "expression_list"
|
|
(Identifier))
|
|
(Identifier)
|
|
(FunctionCall
|
|
(Identifier)
|
|
(Identifier))
|
|
(Break))-}))
|