Searched refs:defineToken (Results 1 – 3 of 3) sorted by relevance
299 root.defineToken(entry.getKey(), ttype); in defineTokenNamesAndLiteralsInGrammar()304 root.defineToken(lit, ttype); in defineTokenNamesAndLiteralsInGrammar()
1416 public void defineToken(String text, int tokenType) { in defineToken() method in Grammar1686 defineToken(tokenID, tokenType); in defineLexerRuleForStringLiteral()2267 defineToken(tokenID, tokenType); in importTokenVocabulary()2421 defineToken(tokenID, tokenType); in importTokenVocabulary()
77 * g.defineToken(<charliteral>, ttype);78 * g.defineToken(<stringliteral>, ttype);79 * g.defineToken(<tokenID>, ttype);