Constructor
generates AST for assignment operator
generates AST for a {block-of-code}
generates AST for "actual code" like 2 + 2 - 6.
generates AST for do-while loops statements
generates AST for a enum definition
generates AST for for loop statements
generates AST for a function definition
generates AST for function call, changes index to token after statementEnd
generates AST for if statements
generates LiteralNode
generates AST for -x where x is a codenode
returns a node representing either of the following: 1. String literal 2. Number literal 3. Function Call (uses generateFunctionCallAST) 4. Variable (uses generateVariableAST) 5. Some code inside parantheses (uses generateCodeAST) 6. A literal array ([x, y, z])
generates AST for operators like +, -...
returns a node representing a return statement
generates AST for single operand operators
generates an AST representing a script.
generates AST for one statement
generates AST for a struct definition
generates AST for variable declarations
generates AST for a variable (or array) and changes value of index to the token after variable ends
generates AST for while statements
contains functions and stuff to convert a QScript from tokens to Syntax Trees