|
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.Object org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor org.eclipse.persistence.jpa.jpql.AbstractContentAssistVisitor.CompoundExpressionHelper
protected class AbstractContentAssistVisitor.CompoundExpressionHelper
This helper is responsible to traverse the parsed tree and to determine if JPQL identifiers
with a compound role can be appended after an Expression
, which is based on the
location of the cursor.
Field Summary | |
---|---|
protected boolean |
betweenCollectionChildren
|
protected Expression |
leftExpression
|
protected LogicalExpression |
logicalExpression
|
protected Expression |
rightExpression
|
Constructor Summary | |
---|---|
protected |
AbstractContentAssistVisitor.CompoundExpressionHelper()
|
Method Summary | |
---|---|
void |
dispose()
|
boolean |
hasIdentifier()
|
boolean |
hasNext()
|
int |
identifierLength()
|
boolean |
isBetweenCollectionChildren()
|
boolean |
isCompoundable()
|
int |
length()
|
void |
next()
|
void |
visit(AndExpression expression)
Visits the AndExpression expression. |
void |
visit(CollectionExpression expression)
Visits the CollectionExpression expression. |
void |
visit(ComparisonExpression expression)
Visits the ComparisonExpression expression. |
void |
visit(Expression expression)
Blindly visit the given Expression . |
void |
visit(OrExpression expression)
Visits the OrExpression expression. |
protected void |
visitLogicalExpression(LogicalExpression 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean betweenCollectionChildren
protected Expression leftExpression
protected LogicalExpression logicalExpression
protected Expression rightExpression
Constructor Detail |
---|
protected AbstractContentAssistVisitor.CompoundExpressionHelper()
Method Detail |
---|
public void dispose()
public boolean hasIdentifier()
public boolean hasNext()
public int identifierLength()
public boolean isBetweenCollectionChildren()
public boolean isCompoundable()
public int length()
public void next()
public void visit(AndExpression expression)
AndExpression
expression.
visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(CollectionExpression expression)
CollectionExpression
expression.
visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(ComparisonExpression expression)
ComparisonExpression
expression.
visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(Expression expression)
Expression
.
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(OrExpression expression)
OrExpression
expression.
visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitprotected void visitLogicalExpression(LogicalExpression expression)
|
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 |