protected static final 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. |
protected AbstractContentAssistVisitor |
visitor
Enclosing visitor instance.
|
Modifier | Constructor and Description |
---|---|
protected |
FollowingInvalidExpressionVisitor(AbstractContentAssistVisitor visitor) |
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 final AbstractContentAssistVisitor visitor
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 FollowingInvalidExpressionVisitor(AbstractContentAssistVisitor visitor)
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