AdditionExpression, DivisionExpression, MultiplicationExpression, SubtractionExpression
| Access | Constructor and Description |
|---|---|
| protected | ArithmeticExpression(AbstractExpression
The parent of this expression parent, String The arithmetic sign identifier)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public JPQLQueryBNF | findQueryBNF(Expression
The expression)Expression that is a descendant of this oneOverrides org. Implements org. JPQLQueryBNF that represents the fragment of this Expression
that was used when parsing the given Expression.
|
| public final String | Returns: The single character value of the arithmetic signReturns the arithmetic sign this expression is actually representing. |
| public String | getLeftExpressionQueryBNFId()
Implements abstract org. JPQLQueryBNF for the left expression.
|
| public final JPQLQueryBNF | getQueryBNF()
Implements org. Expression.
|
| public final String | getRightExpressionQueryBNFId()
Implements abstract org. JPQLQueryBNF for the right expression.
|
| protected boolean | isParsingComplete(WordParser
The text to parse based on the current position of the cursor wordParser, String The word that was retrieved from the given text, which is the first word in the text word, Expression The expression)Expression that has already been parsedOverrides org. |
| protected final String | parseIdentifier(WordParser
The wordParser)WordParser containing the text to parse, which starts with the identifierImplements abstract org. |
| ArithmeticExpression | back to summary |
|---|---|
| protected ArithmeticExpression(AbstractExpression parent, String identifier) Creates a new
| |
| findQueryBNF | back to summary |
|---|---|
| public JPQLQueryBNF findQueryBNF(Expression expression) Overrides org. Implements org. Doc from org. Retrieves the
| |
| getArithmeticSign | back to summary |
|---|---|
| public final String getArithmeticSign() Returns the arithmetic sign this expression is actually representing.
| |
| getLeftExpressionQueryBNFId | back to summary |
|---|---|
| public String getLeftExpressionQueryBNFId() Implements abstract org. Doc from org. Returns the unique identifier of the | |
| getQueryBNF | back to summary |
|---|---|
| public final JPQLQueryBNF getQueryBNF() Implements org. Doc from org. Returns the BNF of this
| |
| getRightExpressionQueryBNFId | back to summary |
|---|---|
| public final String getRightExpressionQueryBNFId() Implements abstract org. Doc from org. Returns the unique identifier of the | |
| isParsingComplete | back to summary |
|---|---|
| protected boolean isParsingComplete(WordParser wordParser, String word, Expression expression) Overrides org. Doc from org. Determines whether the parsing is complete based on what is left in the given text. The text is never empty.
| |
| parseIdentifier | back to summary |
|---|---|
| protected final String parseIdentifier(WordParser wordParser) Implements abstract org. Doc from org. Parses the identifier of this expression.
| |