import a from "../../../../../../lodash-es@4.17.21/node_modules/lodash-es/includes.js";
const c = "MismatchedTokenException", r = "NoViableAltException", i = "EarlyExitException", E = "NotAllInputParsedException", p = [
  c,
  r,
  i,
  E
];
Object.freeze(p);
function T(o) {
  return a(p, o.name);
}
class n extends Error {
  constructor(t, e) {
    super(t), this.token = e, this.resyncedTokens = [], Object.setPrototypeOf(this, new.target.prototype), Error.captureStackTrace && Error.captureStackTrace(this, this.constructor);
  }
}
class x extends n {
  constructor(t, e, s) {
    super(t, e), this.previousToken = s, this.name = c;
  }
}
class l extends n {
  constructor(t, e, s) {
    super(t, e), this.previousToken = s, this.name = r;
  }
}
class N extends n {
  constructor(t, e) {
    super(t, e), this.name = E;
  }
}
class h extends n {
  constructor(t, e, s) {
    super(t, e), this.previousToken = s, this.name = i;
  }
}
export {
  h as EarlyExitException,
  x as MismatchedTokenException,
  l as NoViableAltException,
  N as NotAllInputParsedException,
  T as isRecognitionException
};
