Class SelectExpressionNode

  • All Implemented Interfaces:
    ExpressionNode, ExpressionInterface, HasResultInterface, Statement, Serializable

    public class SelectExpressionNode
    extends ExpressionImpl
    An expression for switches. The contract is this:
         switch.¿case.:default
     
    Where
    • switch. - a boolean list with at most one true element
    • case. - a list of expressions. Only the true element of switch. is evaluated
    • default - value to return if all of the switch. elements are false
    Since this is an expression is returns a value -- always.

    Created by Jeff Gaynor
    on 6/30/23 at 2:13 PM

    See Also:
    Serialized Form