mirror of
https://github.com/github/semantic.git
synced 2024-11-28 18:23:44 +03:00
41 lines
822 B
Plaintext
41 lines
822 B
Plaintext
(Program
|
|
{+(MethodCall
|
|
(Identifier)
|
|
(Object))+}
|
|
{+(MethodCall
|
|
(Identifier)
|
|
(Identifier))+}
|
|
(MethodCall
|
|
(Identifier)
|
|
(Params
|
|
{ (Identifier)
|
|
->(Identifier) }
|
|
{+(KeywordParameter
|
|
(Identifier)
|
|
(Boolean))+}
|
|
{+(OptionalParameter
|
|
(Identifier)
|
|
(Identifier))+})
|
|
{+(IntegerLiteral)+}
|
|
{-(Binary
|
|
(Identifier)
|
|
(Other "+")
|
|
(IntegerLiteral))-})
|
|
{+(AnonymousFunction
|
|
(ExpressionStatements))+}
|
|
{+(AnonymousFunction
|
|
(ExpressionStatements
|
|
(Identifier)))+}
|
|
{+(AnonymousFunction
|
|
(Identifier)
|
|
(ExpressionStatements
|
|
(IntegerLiteral)))+}
|
|
{+(AnonymousFunction
|
|
(Identifier)
|
|
(SplatParameter
|
|
(Identifier))
|
|
(Other "destructured_parameter"
|
|
(Identifier)
|
|
(Identifier))
|
|
(ExpressionStatements))+})
|