use of org.springframework.expression.spel.ast.Indexer in project spring-framework by spring-projects.
the class InternalSpelExpressionParser method maybeEatIndexer.
private boolean maybeEatIndexer() {
Token t = peekToken();
if (!peekToken(TokenKind.LSQUARE, true)) {
return false;
}
SpelNodeImpl expr = eatExpression();
eatToken(TokenKind.RSQUARE);
this.constructedNodes.push(new Indexer(toPos(t), expr));
return true;
}
Aggregations