added setter for _token

This commit is contained in:
Terence Parr 2012-05-26 11:32:32 -07:00
parent 3b1d91e010
commit aab8806783
1 changed files with 4 additions and 0 deletions

View File

@ -297,6 +297,10 @@ public abstract class Lexer extends Recognizer<Integer, LexerATNSimulator>
this._text = text;
}
public void setToken(Token _token) {
this._token = _token;
}
public String[] getModeNames() {
return null;
}