protected class AbstractContentAssistVisitor.EncapsulatedExpressionVisitor extends AnonymousExpressionVisitor
Modifier and Type | Field and Description |
---|---|
protected boolean |
encapsulated
Determines whether the visited
Expression is being encapsulated or not. |
protected boolean |
visited
Internal flag that prevent infinite recursion.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractContentAssistVisitor.EncapsulatedExpressionVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of the internal data.
|
boolean |
isEncapsulated()
Determines whether the visited
Expression is being encapsulated or not. |
protected void |
visit(Expression expression)
Blindly visit the given
Expression . |
void |
visit(SubExpression expression)
Visits the
SubExpression 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 encapsulated
Expression
is being encapsulated or not.protected boolean visited
protected AbstractContentAssistVisitor.EncapsulatedExpressionVisitor()
public void dispose()
public boolean isEncapsulated()
Expression
is being encapsulated or not.true
if the visited Expression
is within parenthesis;
false
otherwiseprotected void visit(Expression expression)
Expression
.visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SubExpression expression)
SubExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visit