Skip to content

Instantly share code, notes, and snippets.

/ast.yml Secret

Created February 26, 2017 11:49
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 anonymous/12999e727bdaa48bea897a7f4ccd5493 to your computer and use it in GitHub Desktop.
Save anonymous/12999e727bdaa48bea897a7f4ccd5493 to your computer and use it in GitHub Desktop.
- BlockStatement ( [ word.key(a... ] ) -> block()
- Statement ( word.key(a... ) -> statement()
- BinaryExpression -> additive()
- operator ( + )
- ContainerAccessExpression ( word.key(arg, arg) ) -> functionChain()
- ValueExpression ( word : StringValue ) -> value()
- ValueExpression ( key(...) : FunctionValue ) -> functionChain()
- FunctionValue
- FunctionalExpression -> function()
- ValueExpression ( key : StringValue )
- Arguments
- VariableExpression
- name = "arg"
- VariableExpression
- name = "arg"
- BinaryExpression ( 25 * len... ) -> multiplicative()
- operator ( * )
- ValueExpression ( 25 ) -> value()
- FunctionalExpression ( len(... ) -> function()
- ValueExpression ( len : StringValue ) -> value()
- Arguments
- FunctionalExpression ( getText... ) -> function()
- ValueExpression ( getText : StringValue ) -> value()
- Arguments
- ValueExpression ( "resource/main.xml" : StringValue ) -> value()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment