forked from jasder/antlr
Merge branch 'set-interpreter' of git://github.com/sharwell/antlr4
This commit is contained in:
commit
ab5c9ede09
|
@ -65,7 +65,13 @@ public abstract class Recognizer<Symbol, ATNInterpreter extends ATNSimulator> {
|
||||||
|
|
||||||
public abstract ATN getATN();
|
public abstract ATN getATN();
|
||||||
|
|
||||||
public ATNInterpreter getInterpreter() { return _interp; }
|
public ATNInterpreter getInterpreter() {
|
||||||
|
return _interp;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setInterpreter(ATNInterpreter interpreter) {
|
||||||
|
_interp = interpreter;
|
||||||
|
}
|
||||||
|
|
||||||
/** What is the error header, normally line/character position information? */
|
/** What is the error header, normally line/character position information? */
|
||||||
public String getErrorHeader(RecognitionException e) {
|
public String getErrorHeader(RecognitionException e) {
|
||||||
|
|
Loading…
Reference in New Issue