operator [] method

NameResolution operator [](
  1. int index
)
Gets the name resolution at the specified index. The index of the name resolution to get.

Implementation

NameResolution operator [](int index) {
  if (index < 0 || index >= Count) {
    throw RangeError.value(index, "index", "Strings.IndexIsOutOfRange");
  }

  return _items[index];
}