The AST subclass representing a list given as a range.

Consists of three expressions, representing the first, second, and last elements of the range.

Hierarchy (view full)

API

  • The specialized constructor for this AST subclass, transforming this particular case to the general one using super.

    Note:

    • second may be undefined, for the case of increments of 1. It has NOT a default value, so that this case may be clearly identified when printing code, and thus, not printed.

    Parameters

    Returns ASTExprListRange

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

  • Indicates if the ASTExprListRange has a second element expression. When present, the step may be different of one.

    Returns boolean

  • TO DO: Complete

    Returns string

Auxiliaries