public static class AbstractValidator.ChildrenCollectorVisitor extends AnonymousExpressionVisitor
CollectionExpression
or a single visited
Expression
.Modifier and Type | Field and Description |
---|---|
protected java.util.List<Expression> |
expressions
The unique
Expression that was visited or the children of CollectionExpression . |
Constructor and Description |
---|
ChildrenCollectorVisitor()
Creates a new
ChildrenCollectorVisitor . |
Modifier and Type | Method and Description |
---|---|
void |
visit(CollectionExpression expression)
Visits the
CollectionExpression expression. |
protected void |
visit(Expression expression)
Blindly visit the given
Expression . |
void |
visit(NullExpression expression)
Visits the
NullExpression expression. |
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, 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, visit, visit, visit, visit, visit, visit
protected java.util.List<Expression> expressions
Expression
that was visited or the children of CollectionExpression
.public ChildrenCollectorVisitor()
ChildrenCollectorVisitor
.public void visit(CollectionExpression expression)
CollectionExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitprotected void visit(Expression expression)
Expression
.visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(NullExpression expression)
NullExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visit