• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1org.antlr.runtime.MismatchedRangeException = function(a, b, input) {
2    if (arguments.length===0) {
3        return this;
4    }
5
6    org.antlr.runtime.MismatchedRangeException.superclass.constructor.call(
7            this, input);
8    this.a = a;
9    this.b = b;
10};
11
12org.antlr.lang.extend(
13    org.antlr.runtime.MismatchedRangeException,
14    org.antlr.runtime.RecognitionException, {
15    toString: function() {
16        return "MismatchedRangeException(" +
17                this.getUnexpectedType()+" not in ["+this.a+","+this.b+"])";
18    },
19    name: "org.antlr.runtime.MismatchedRangeException"
20});
21