goto method Null safety

  1. @override
void goto(
  1. int label
)
override

Implementation

@override
void goto(int label) {
  if (label < 0) {
    currentLine = -label;
  } else if (label >= _lblOpcodes.length) {
    throw CalculatorError(4);
  } else {
    gotoOpCode(_lblOpcodes[label]);
  }
}