protected class AbstractContentAssistVisitor.FollowingInvalidExpressionVisitor extends AbstractTraverseParentVisitor
Modifier and Type | Field and Description |
---|---|
protected Expression |
expression
The
Expression used to determine if it follows an invalid fragment or not. |
protected boolean |
followingInvalidExpression
Determines whether the visited
Expression is preceded by an invalid expression. |
Modifier | Constructor and Description |
---|---|
protected |
AbstractContentAssistVisitor.FollowingInvalidExpressionVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of the internal data.
|
boolean |
isFollowingInvalidExpression()
Determines whether the visited
Expression is preceded by an invalid expression. |
void |
visit(CollectionExpression expression)
Visits the
CollectionExpression expression. |
protected void |
visit(Expression expression)
Blindly visit the given
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, visit
protected Expression expression
Expression
used to determine if it follows an invalid fragment or not.protected boolean followingInvalidExpression
Expression
is preceded by an invalid expression.protected AbstractContentAssistVisitor.FollowingInvalidExpressionVisitor()
public void dispose()
public boolean isFollowingInvalidExpression()
Expression
is preceded by an invalid expression.true
if the visited Expression
is part of a collection of
expressions and an invalid expression precede it; false
otherwisepublic 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 AbstractTraverseParentVisitor
expression
- The Expression
to visit