mirror of
https://github.com/github/semantic.git
synced 2024-11-28 18:23:44 +03:00
35 lines
641 B
Plaintext
35 lines
641 B
Plaintext
(Program
|
|
{ (MethodCall
|
|
(Identifier))
|
|
->(MethodCall
|
|
(Identifier)
|
|
(Identifier)) }
|
|
{+(MethodCall
|
|
(Identifier)
|
|
(Identifier)
|
|
(Identifier)
|
|
(Pair
|
|
(SymbolLiteral)
|
|
(IntegerLiteral))
|
|
(Pair
|
|
(Identifier)
|
|
(IntegerLiteral)))+}
|
|
{+(MethodCall
|
|
(Identifier)
|
|
(MethodCall
|
|
(Identifier)
|
|
(Identifier)))+}
|
|
{+(MethodCall
|
|
(Identifier)
|
|
(Pair
|
|
(ArrayLiteral)
|
|
(IntegerLiteral))
|
|
(Other "splat_argument"
|
|
(Identifier))
|
|
(Other "block_argument"
|
|
(Identifier))
|
|
(AnonymousFunction
|
|
(Identifier)
|
|
(ExpressionStatements
|
|
(IntegerLiteral))))+})
|