AndExpression creates a new AdditionExpression when the portion of the query
to parse starts with AND.
AndExpression
| Modifier and Type | Class and Description |
|---|---|
| private static class | AndExpressionFactory.OrExpressionVisitor
This |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | ID
The unique identifier of this |
| private AndExpressionFactory. | visitor
This |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected AbstractExpression | buildExpression(AbstractExpression
The parent parent, WordParser AbstractExpressionThe text to parse based on the current position of the cursor wordParser, String The current word being parsed word, JPQLQueryBNF The BNF grammar that was used to identifier this factory to be capable to
parse a portion of the query queryBNF, AbstractExpression During the parsing, it is possible the first part of an expression was
parsed which needs to be used as a sub-expression of the newly created expression expression, boolean tolerant)Implements abstract org. Expression.
|
| private AndExpressionFactory. |
| ID | back to summary |
|---|---|
| public static final String ID The unique identifier of this | |
| visitor | back to summary |
|---|---|
| private AndExpressionFactory. This | |
| AndExpressionFactory | back to summary |
|---|---|
| public AndExpressionFactory() Creates a new | |
| buildExpression | back to summary |
|---|---|
| protected AbstractExpression buildExpression(AbstractExpression parent, WordParser wordParser, String word, JPQLQueryBNF queryBNF, AbstractExpression expression, boolean tolerant) Implements abstract org. Doc from org. Creates a new
| |
| visitor | back to summary |
|---|---|
| private AndExpressionFactory. | |
ExpressionVisitor is used to check if the Expression passed to this
factory is an OrExpression.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | found
This flag is turned on if the |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | visit(OrExpression
The expression)Expression to visitOverrides org. Implements org. OrExpression expression.
|
| found | back to summary |
|---|---|
| pack-priv boolean found This flag is turned on if the | |
| OrExpressionVisitor | back to summary |
|---|---|
| private OrExpressionVisitor() | |
| visit | back to summary |
|---|---|
| public void visit(OrExpression expression) Overrides org. Implements org. Doc from org. Visits the
| |