public class ControlExpressionValidator extends ChildrenExpressionVisitor
Constructor and Description |
---|
ControlExpressionValidator()
A default constructor.
|
Modifier and Type | Method and Description |
---|---|
Errors |
getErrors()
Returns the validation errors that were found during validation.
|
Object |
visit(BreakExpression expression)
Visits a break expression.
|
Object |
visit(ClosureExpression expression)
Visits a closure.
|
Object |
visit(ContinueExpression expression)
Visits a continue expression.
|
Object |
visit(ForeachExpression expression)
Visits a foreach expression.
|
Object |
visit(ForExpression expression)
Visits a for expression.
|
Object |
visit(WhileExpression expression)
Visits a while expresion.
|
protected void |
visitChild(Expression expression)
Called for each child of the given node.
|
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitEnter, visitLeave
public ControlExpressionValidator()
public Errors getErrors()
public Object visit(BreakExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
visit
in class ChildrenExpressionVisitor
public Object visit(ContinueExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
visit
in class ChildrenExpressionVisitor
public Object visit(WhileExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
visit
in class ChildrenExpressionVisitor
public Object visit(ForExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
visit
in class ChildrenExpressionVisitor
public Object visit(ForeachExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
visit
in class ChildrenExpressionVisitor
public Object visit(ClosureExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
visit
in class ChildrenExpressionVisitor
protected void visitChild(Expression expression)
ChildrenExpressionVisitor
visitChild
in class ChildrenExpressionVisitor
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.