|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
org.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor.VisitParentVisitor
protected class AbstractContentAssistVisitor.VisitParentVisitor
This visitor is meant to adjust the corrections stack when traversing an 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.
Constructor Summary | |
---|---|
protected |
AbstractContentAssistVisitor.VisitParentVisitor()
|
Method Summary | |
---|---|
protected void |
visit(Expression expression)
Blindly visit the given Expression . |
void |
visit(InExpression expression)
Visits the InExpression expression. |
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor |
---|
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractContentAssistVisitor.VisitParentVisitor()
Method Detail |
---|
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
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |