The AST subclass representing a conditional expression.

Consists of a condition and an expression, the result in the case than the condition is true. It does NOT provide a value when the condition is false.

Hierarchy (view full)

API

attributes: OptionsTable = ...

TO DO: Complete

children: ASTChild[]

TO DO: Complete This array may be used for 2 purposes:

  • as a list of heterogeneous childs (several branches, some of them lists)
  • as a list of homogeneous childs (just one list branch, represented directly) The difference is given by the kind of node and its components.
span: Span = ...

TO DO: Complete

tag: symbol

TO DO: Complete

  • Specialization of toString to show this instance in a different way as that given by the default.

    Returns string

Auxiliaries