checks a script's AST for any errors
Arguments: node is the ScriptNode for the script
errors in CompileError[] or just an empty array if there were no errors
See Implementation
checks a script's AST for any errors
Arguments: node is the ScriptNode for the script