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

OpPlus

open class OpPlus : Operator

The plus operator will:

It can be used as a unary operator for numbers. The standard promotions are performed when the operand types vary (double+int=double). For other options it defers to the registered overloader.

Author
Andy Clement

Author
Juergen Hoeller

Author
Ivo Smid

Author
Giovanni Dall'Oglio Risso

Since
3.0

Constructors

<init>

OpPlus(pos: Int, vararg operands: SpelNodeImpl)

Functions

generateCode

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

getRightOperand

open fun getRightOperand(): SpelNodeImpl

getValueInternal

open fun getValueInternal(state: ExpressionState): TypedValue

isCompilable

open fun isCompilable(): Boolean

toStringAST

open fun toStringAST(): String