ASTCheck

Contains functions to check ASTs for errors One instance of this class can be used to check for errors in a script's AST.

Constructors

this
this(Library[] libraries)

constructor

Destructor

~this
~this()
Undocumented in source.

Members

Functions

checkAST
void checkAST(FunctionNode node)

checks if a FunctionNode is valid

checkAST
void checkAST(StatementNode node)

checks if a StatementNode is valid

checkAST
void checkAST(AssignmentNode node)

checks a AssignmentNode

checkAST
void checkAST(BlockNode node, bool ownScope)

checks a BlockNode

checkAST
void checkAST(DoWhileNode node)

checks a DoWhileNode

checkAST
void checkAST(ForNode node)

checks a ForNode

checkAST
void checkAST(FunctionCallNode node)

checks a FunctionCallNode

checkAST
void checkAST(IfNode node)

checks an IfNode

checkAST
void checkAST(VarDeclareNode node)

checks a VarDeclareNode

checkAST
void checkAST(WhileNode node)

checks a WhileNode

checkAST
void checkAST(ReturnNode node)

checks a ReturnNode

checkAST
void checkAST(CodeNode node)

checks a CodeNode

checkAST
void checkAST(NegativeValueNode node)

checks a NegativeValueNode

checkAST
void checkAST(OperatorNode node)

checks a OperatorNode

checkAST
void checkAST(SOperatorNode node)

checks a SOperatorNode

checkAST
void checkAST(ReadElement node)

checks a ReadElement

checkAST
void checkAST(VariableNode node)

checks a VariableNode

checkAST
void checkAST(ArrayNode node)

checks an ArrayNode

checkAST
void checkAST(MemberSelectorNode node)

checks a MemberSelectorNode

checkAST
CompileError[] checkAST(ScriptNode node, Library exports, Library allDeclerations)

checks a script's AST for any errors

checkAST
CompileError[] checkAST(ScriptNode node)

checks a script's AST for any errors

Meta