protected class AbstractContentAssistVisitor.WithinInvalidExpressionVisitor extends AbstractTraverseParentVisitor
Modifier and Type | Field and Description |
---|---|
protected boolean |
withinInvalidExpression
Determines whether the visited
Expression is an descendant of either a bad or
invalid expression. |
Modifier | Constructor and Description |
---|---|
protected |
AbstractContentAssistVisitor.WithinInvalidExpressionVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of the internal data.
|
boolean |
isWithinInvalidExpression()
Determines whether the visited
Expression is part of an invalid fragment |
void |
visit(BadExpression expression)
Visits the
BadExpression expression. |
void |
visit(UnknownExpression expression)
Visits the
UnknownExpression 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 boolean withinInvalidExpression
Expression
is an descendant of either a bad or
invalid expression.protected AbstractContentAssistVisitor.WithinInvalidExpressionVisitor()
public void dispose()
public boolean isWithinInvalidExpression()
Expression
is part of an invalid fragmenttrue
if the visited Expression
is within an invalid fragment;
false
if it is notpublic void visit(BadExpression expression)
BadExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(UnknownExpression expression)
UnknownExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The UnknownExpression
to visit