mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +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))))+})
|