The specialized constructor for this AST subclass, transforming this particular case to the general one using super.
PRECONDITIONS:
conditionalExprs.length >=1
Optional
elseExpr: ASTExprOptional
span: SpanOptional
attributes: OptionsTableGParserPreconditionError
Readonly
attributesTO DO: Complete
Readonly
childrenTO DO: Complete This array may be used for 2 purposes:
Readonly
spanTO DO: Complete
Readonly
tagTO DO: Complete
The getter for the conditionalExprs property of an ASTExprChoose.
Indicates if the ASTExprChoose has an else expression.
Protected
_show
The AST subclass representing alternative expressions (choose-when).
Consists of one or more conditional expressions, the
conditionalExprs
, and an optionalelseExpr
to use if none of the conditions is true.Notes:
elseExpr
may be undefined, representing the case of an alternative with no else.PRECONDITIONS:
conditionalExprs.length >=1