blob: c008531628b1ff9d0ba2a599ab1548c325a5a1e1 [file] [log] [blame]
package org.antlr.runtime {
import org.antlr.runtime.tree.TreeNodeStream;
public class MismatchedTreeNodeException extends RecognitionException {
public var expecting:int;
public function MismatchedTreeNodeException(expecting:int, input:TreeNodeStream) {
super(input);
this.expecting = expecting;
}
public function toString():String {
return "MismatchedTreeNodeException("+unexpectedType+"!="+expecting+")";
}
}
}