ast.txt 328 B

1234567891011121314151617
  1. A abstract
  2. S syntax
  3. T tree
  4. tree implies hierarchy
  5. syntax
  6. characters "if (a == ((b== 2) == 1)) then"
  7. -> keywords "if", "then"
  8. numbers "1"
  9. strings
  10. tokens:
  11. if-keyword open-list variable"a" variable"==" number"1" close-list then-keyword
  12. AST:
  13. if-statement(expression(variable("a"),..))