ASTCheck.checkAST

checks a script's AST for any errors

Arguments: node is the ScriptNode for the script scriptFunctions is the array to put data about script defined functions in

Return Value

Type: CompileError[]

errors in CompileError[] or just an empty array if there were no errors

Meta