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])
This function is used by generateCodeAST to separate nodes, and by generateOperatorAST to read operands
set skipPost to true in case you do not want it to read into [...] or . after the Node
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])
This function is used by generateCodeAST to separate nodes, and by generateOperatorAST to read operands
set skipPost to true in case you do not want it to read into [...] or . after the Node