protected static final class AbstractContentAssistVisitor.InvalidExpressionVisitor extends AbstractExpressionVisitor
Expression
is one of the two that represents
an invalid expression.Modifier and Type | Field and Description |
---|---|
protected Expression |
expression
|
Modifier | Constructor and Description |
---|---|
protected |
InvalidExpressionVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of the internal data.
|
boolean |
isInvalid()
Determines whether the visited
Expression represents 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
protected Expression expression
public void dispose()
public boolean isInvalid()
Expression
represents an invalid fragment.true
if the Expression
is an invalid fragment;
false
otherwisepublic void visit(BadExpression expression)
BadExpression
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(UnknownExpression expression)
UnknownExpression
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The UnknownExpression
to visit