The AST subclass representing a foreach statement.

Consists of a pattern, an expression establishing the range, and a block, the body.

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

  • TO DO: Complete

    Returns string

Auxiliaries