open class Ternary : SpelNodeImpl
Represents a ternary expression, for example: "someCheck()?true:false".
Author
Andy Clement
Author
Juergen Hoeller
Since
3.0
Ternary(pos: Int, vararg args: SpelNodeImpl) |
open fun generateCode(mv: MethodVisitor, cf: CodeFlow): Unit |
|
open fun getValueInternal(state: ExpressionState): TypedValue
Evaluate the condition and if true evaluate the first alternative, otherwise evaluate the second alternative. |
|
open fun isCompilable(): Boolean |
|
open fun toStringAST(): String |