emitError method

void emitError()

Implementation

void emitError() {
  throw new ParseError(
      _errMsg, filename, token!.line, token!.startOffset, token!.endOffset);
}