| Modifier and Type | Field and Description |
|---|---|
| private final SpelParserConfiguration | |
| private final Deque | |
| private String | |
| private final ConcurrentMap | |
| private List | |
| private int | |
| private int | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public | InternalSpelExpressionParser(SpelParserConfiguration
custom configuration options configuration)Create a parser with some configured behavior. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private void | |
| private void | consumeArguments(List<SpelNodeImpl> accumulatedArguments)
Used for consuming arguments for either a method or a constructor call. |
| protected SpelExpression | doParseExpression(String
the raw expression string to parse expressionString, ParserContext a context for influencing this expression parsing routine (optional) context)Implements abstract org. |
| private void | |
| private SpelNodeImpl | |
| private SpelNodeImpl | |
| private SpelNodeImpl | |
| private SpelNodeImpl | |
| private SpelNodeImpl | |
| private SpelNodeImpl | |
| private SpelNodeImpl | |
| private SpelNodeImpl | |
| private SpelNodeImpl | |
| private SpelNodeImpl | |
| private SpelNodeImpl | |
| private SpelNodeImpl | |
| private SpelNodeImpl | |
| private Token | |
| private SpelNodeImpl | |
| private InternalParseException | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private SpelNodeImpl[] | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private Token | |
| private boolean | |
| private boolean | |
| private Token | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private Token | |
| private SpelNodeImpl | |
| private int | |
| private void | |
| private Token | |
| public String |
| configuration | back to summary |
|---|---|
| private final SpelParserConfiguration configuration | |
| constructedNodes | back to summary |
|---|---|
| private final Deque<SpelNodeImpl> constructedNodes | |
| expressionString | back to summary |
|---|---|
| private String expressionString | |
| patternCache | back to summary |
|---|---|
| private final ConcurrentMap<String, Pattern> patternCache | |
| tokenStream | back to summary |
|---|---|
| private List<Token> tokenStream | |
| tokenStreamLength | back to summary |
|---|---|
| private int tokenStreamLength | |
| tokenStreamPointer | back to summary |
|---|---|
| private int tokenStreamPointer | |
| VALID_QUALIFIED_ID_PATTERN | back to summary |
|---|---|
| private static final Pattern VALID_QUALIFIED_ID_PATTERN | |
| InternalSpelExpressionParser | back to summary |
|---|---|
| public InternalSpelExpressionParser(SpelParserConfiguration configuration) Create a parser with some configured behavior.
| |
| checkExpressionLength | back to summary |
|---|---|
| private void checkExpressionLength(String string) | |
| checkLeftOperand | back to summary |
|---|---|
| private void checkLeftOperand(Token token, SpelNodeImpl operandExpression) | |
| checkOperands | back to summary |
|---|---|
| private void checkOperands(Token token, SpelNodeImpl left, SpelNodeImpl right) | |
| checkRightOperand | back to summary |
|---|---|
| private void checkRightOperand(Token token, SpelNodeImpl operandExpression) | |
| consumeArguments | back to summary |
|---|---|
| private void consumeArguments(List<SpelNodeImpl> accumulatedArguments) Used for consuming arguments for either a method or a constructor call. | |
| doParseExpression | back to summary |
|---|---|
| protected SpelExpression doParseExpression(String expressionString, ParserContext context) throws ParseException Implements abstract org. Doc from org. Actually parse the expression string and return an Expression object.
| |
| eatConstructorArgs | back to summary |
|---|---|
| private void eatConstructorArgs(List<SpelNodeImpl> accumulatedArguments) | |
| eatDottedNode | back to summary |
|---|---|
| private SpelNodeImpl eatDottedNode() | |
| eatExpression | back to summary |
|---|---|
private SpelNodeImpl eatExpression()
| |
| eatLogicalAndExpression | back to summary |
|---|---|
private SpelNodeImpl eatLogicalAndExpression()
| |
| eatLogicalOrExpression | back to summary |
|---|---|
private SpelNodeImpl eatLogicalOrExpression()
| |
| eatNode | back to summary |
|---|---|
private SpelNodeImpl eatNode()
| |
| eatNonDottedNode | back to summary |
|---|---|
private SpelNodeImpl eatNonDottedNode()
| |
| eatPossiblyQualifiedId | back to summary |
|---|---|
| private SpelNodeImpl eatPossiblyQualifiedId() Eat an identifier, possibly qualified (meaning that it is dotted). TODO AndyC Could create complete identifiers (a.b.c) here rather than a sequence of them? (a, b, c) | |
| eatPowerIncDecExpression | back to summary |
|---|---|
private SpelNodeImpl eatPowerIncDecExpression()
| |
| eatPrimaryExpression | back to summary |
|---|---|
private SpelNodeImpl eatPrimaryExpression()
| |
| eatProductExpression | back to summary |
|---|---|
private SpelNodeImpl eatProductExpression()
| |
| eatRelationalExpression | back to summary |
|---|---|
private SpelNodeImpl eatRelationalExpression()
| |
| eatStartNode | back to summary |
|---|---|
private SpelNodeImpl eatStartNode()
| |
| eatSumExpression | back to summary |
|---|---|
private SpelNodeImpl eatSumExpression()
| |
| eatToken | back to summary |
|---|---|
| private Token eatToken(TokenKind expectedKind) | |
| eatUnaryExpression | back to summary |
|---|---|
private SpelNodeImpl eatUnaryExpression()
| |
| internalException | back to summary |
|---|---|
| private InternalParseException internalException(int startPos, SpelMessage message, Object... inserts) | |
| isValidQualifiedId | back to summary |
|---|---|
| private boolean isValidQualifiedId(Token node) | |
| maybeEatBeanReference | back to summary |
|---|---|
| private boolean maybeEatBeanReference() | |
| maybeEatConstructorReference | back to summary |
|---|---|
| private boolean maybeEatConstructorReference() | |
| maybeEatFunctionOrVar | back to summary |
|---|---|
| private boolean maybeEatFunctionOrVar() | |
| maybeEatIndexer | back to summary |
|---|---|
| private boolean maybeEatIndexer() | |
| maybeEatInlineListOrMap | back to summary |
|---|---|
| private boolean maybeEatInlineListOrMap() | |
| maybeEatLiteral | back to summary |
|---|---|
| private boolean maybeEatLiteral() | |
| maybeEatMethodArgs | back to summary |
|---|---|
private SpelNodeImpl[] maybeEatMethodArgs()
| |
| maybeEatMethodOrProperty | back to summary |
|---|---|
| private boolean maybeEatMethodOrProperty(boolean nullSafeNavigation) | |
| maybeEatNullReference | back to summary |
|---|---|
| private boolean maybeEatNullReference() | |
| maybeEatParenExpression | back to summary |
|---|---|
| private boolean maybeEatParenExpression() | |
| maybeEatProjection | back to summary |
|---|---|
| private boolean maybeEatProjection(boolean nullSafeNavigation) | |
| maybeEatRelationalOperator | back to summary |
|---|---|
private Token maybeEatRelationalOperator()
| |
| maybeEatSelection | back to summary |
|---|---|
| private boolean maybeEatSelection(boolean nullSafeNavigation) | |
| maybeEatTypeReference | back to summary |
|---|---|
| private boolean maybeEatTypeReference() | |
| nextToken | back to summary |
|---|---|
private Token nextToken()
| |
| peekIdentifierToken | back to summary |
|---|---|
| private boolean peekIdentifierToken(String identifierString) | |
| peekSelectToken | back to summary |
|---|---|
| private boolean peekSelectToken() | |
| peekToken | back to summary |
|---|---|
| private boolean peekToken(TokenKind desiredTokenKind) | |
| peekToken | back to summary |
|---|---|
| private boolean peekToken(TokenKind desiredTokenKind, boolean consumeIfMatched) | |
| peekToken | back to summary |
|---|---|
| private boolean peekToken(TokenKind possible1, TokenKind possible2) | |
| peekToken | back to summary |
|---|---|
| private boolean peekToken(TokenKind possible1, TokenKind possible2, TokenKind possible3) | |
| peekToken | back to summary |
|---|---|
private Token peekToken()
| |
| pop | back to summary |
|---|---|
| private SpelNodeImpl pop() | |
| positionOf | back to summary |
|---|---|
| private int positionOf(Token t) | |
| push | back to summary |
|---|---|
| private void push(SpelNodeImpl newNode) | |
| takeToken | back to summary |
|---|---|
| private Token takeToken() | |
| toString | back to summary |
|---|---|
| public String toString(Token t) | |