protected class AbstractContentAssistVisitor.VisitParentVisitor extends AnonymousExpressionVisitor
Expression
in
order to increase the list of valid proposals.
For instance, if the query is "SELECT e FROM Employee e WHERE IN
" and the cursor
is at the end of the query, then IN
would be parsed with InExpression
.
However, due to how AbstractContentAssistVisitor
works, the identifier INDEX
is not added as a valid proposal. This visitor adds that functionality.
Modifier | Constructor and Description |
---|---|
protected |
AbstractContentAssistVisitor.VisitParentVisitor() |
Modifier and Type | Method and Description |
---|---|
protected void |
visit(Expression expression)
Blindly visit the given
Expression . |
void |
visit(InExpression expression)
Visits the
InExpression 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 AbstractContentAssistVisitor.VisitParentVisitor()
protected void visit(Expression expression)
Expression
.visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(InExpression expression)
InExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visit