Skip to content

Instantly share code, notes, and snippets.

@ionoy
Created July 11, 2016 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ionoy/13814d9f052489b152e1961d208a9fea to your computer and use it in GitHub Desktop.
Save ionoy/13814d9f052489b152e1961d208a9fea to your computer and use it in GitHub Desktop.
syntax Expr
{
| MemberRef = Key=QualifiedReference
| ArrayRef = Key=QualifiedReference "[" Expr "]"
| MethodCall = Key=QualifiedReference "(" (Argument; "," sm)* ")"
| Braces = "(" Expr ")"
| Complex = (MethodCall | MemberRef | ArrayRef | Braces) "." Expr
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment