IndexedIdentifierNode constructor

IndexedIdentifierNode(
  1. String value,
  2. Node<dynamic, LangVal<LangType>> index
)

Constructs an indexed identifier with an array name and index expression.

Parameters:

  • value: The name of the array variable
  • index: The expression that evaluates to the array index

Implementation

IndexedIdentifierNode(super.value, Node<dynamic, LangVal> index) {
  children.add(index);
}