operator [] method
Implementation
RuleError operator [](int index) {
if (index < 0 || index >= Count) {
throw RangeError.range(index, 0, Count - 1, "index");
}
return ruleErrors[index];
}
RuleError operator [](int index) {
if (index < 0 || index >= Count) {
throw RangeError.range(index, 0, Count - 1, "index");
}
return ruleErrors[index];
}