protected class AbstractContentAssistVisitor.DeclarationVisitor extends AnonymousExpressionVisitor
Modifier and Type | Field and Description |
---|---|
protected boolean |
declaration
Indicates if the visited
CollectionValuedPathExpression is found within a
declaration expression. |
Modifier | Constructor and Description |
---|---|
protected |
AbstractContentAssistVisitor.DeclarationVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of the internal data.
|
boolean |
isDeclaration()
Determines whether the visited path expression is found within a declaration expression.
|
void |
visit(CollectionValuedPathExpression expression)
Visits the
CollectionValuedPathExpression expression. |
void |
visit(RangeVariableDeclaration expression)
Visits the
RangeVariableDeclaration 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 declaration
CollectionValuedPathExpression
is found within a
declaration expression.protected AbstractContentAssistVisitor.DeclarationVisitor()
public void dispose()
public boolean isDeclaration()
true
if the visited CollectionValuedPathExpression
is owned by
a RangeVariableDeclaration
, which indicates it is used to define the "root" object;
false
if it is notpublic void visit(CollectionValuedPathExpression expression)
CollectionValuedPathExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(RangeVariableDeclaration expression)
RangeVariableDeclaration
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visit