Skip to content

Instantly share code, notes, and snippets.

@vihanb
Created January 20, 2019 03:13
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 vihanb/4f225d38ad31236d019e3bc0ed76dee6 to your computer and use it in GitHub Desktop.
Save vihanb/4f225d38ad31236d019e3bc0ed76dee6 to your computer and use it in GitHub Desktop.
Syntax Error: Ambigous parsing (2) for:
CodeBlock
└ statements[]
└ ExpressionStatement
└ expression: BinaryExpression
├ lhs: Identifier; b
└ rhs: FunctionCall
├ head: FunctionCall
│ ├ head: Identifier; a
│ └ arguments[]
└ arguments[]
└ ArgumentCall
└ value: Identifier; b
CodeBlock
└ statements[]
├ ExpressionStatement
│ └ expression: BinaryExpression
│ ├ lhs: Identifier; b
│ └ rhs: FunctionCall
│ ├ head: Identifier; a
│ └ arguments[]
└ ExpressionStatement
└ expression: ExpressionStatement
└ expression: ExpressionStatement
└ expression: Identifier; b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment