Searched refs:defineToken (Results 1 – 3 of 3) sorted by relevance
305 root.defineToken(tokenID, ttype); in defineTokenNamesAndLiteralsInGrammar()311 root.defineToken(lit, ttype); in defineTokenNamesAndLiteralsInGrammar()
1375 public void defineToken(String text, int tokenType) { in defineToken() method in Grammar1645 defineToken(tokenID, tokenType); in defineLexerRuleForStringLiteral()2223 defineToken(tokenID, tokenType); in importTokenVocabulary()2377 defineToken(tokenID, tokenType); in importTokenVocabulary()
77 * g.defineToken(<charliteral>, ttype);78 * g.defineToken(<stringliteral>, ttype);79 * g.defineToken(<tokenID>, ttype);