Add LexerATNSimulator.getTraceStream

This commit is contained in:
sharwell 2012-02-09 00:14:37 -06:00
parent f5f3861cb7
commit 40a8759276
1 changed files with 4 additions and 0 deletions

View File

@ -139,6 +139,10 @@ public class LexerATNSimulator extends ATNSimulator {
this.recog = recog; this.recog = recog;
} }
public OutputStream getTraceStream() {
return this.traceStream;
}
public void setTraceStream(OutputStream traceStream) { public void setTraceStream(OutputStream traceStream) {
this.traceStream = traceStream; this.traceStream = traceStream;
this.trace = traceStream != null; this.trace = traceStream != null;