spring-framework / org.springframework.expression.spel.ast / Indexer

Indexer

open class Indexer : SpelNodeImpl

An Indexer can index into some proceeding structure to access a particular piece of it. Supported structures are: strings / collections (lists/sets) / arrays.

Author
Andy Clement

Author
Phillip Webb

Author
Stephane Nicoll

Since
3.0

Constructors

<init>

Indexer(pos: Int, expr: SpelNodeImpl)

Functions

generateCode

open fun generateCode(mv: MethodVisitor, cf: CodeFlow): Unit

getValueInternal

open fun getValueInternal(state: ExpressionState): TypedValue

isCompilable

open fun isCompilable(): Boolean

isWritable

open fun isWritable(expressionState: ExpressionState): Boolean

setValue

open fun setValue(state: ExpressionState, newValue: Any): Unit

toStringAST

open fun toStringAST(): String