public class VerifierCodeVisitor extends CodeVisitorSupport
Performs various checks on code inside methods and constructors including checking for valid field, variables names etc. that would otherwise lead to invalid code.
Type Params | Return Type | Name and description |
---|---|---|
|
static void |
assertValidIdentifier(String name, String message, ASTNode node) |
|
void |
visitConstructorCallExpression(ConstructorCallExpression call) |
|
void |
visitFieldExpression(FieldExpression expression) |
|
void |
visitForLoop(ForStatement expression) |
|
void |
visitListExpression(ListExpression expression) |
|
void |
visitVariableExpression(VariableExpression expression) |