ASTGen.generateScriptAST

generates an AST representing a script.

tokens is the TokenList to generate AST from errors is the array in which errors will be put

The script must be converted to tokens using qscript.compiler.tokengen.toTokens If any errors occur, they will be contanied in qscript.compiler.misc.

struct ASTGen
generateScriptAST

Meta