34353637383940
* * If you care what the token payload objects' type is, you should * override this method and any other createToken variant. */ public Token createToken(int tokenType, String text) { return new CommonToken(tokenType, text); }
52535455565758
* * If you care what the token payload objects' type is, you should * override this method and any other createToken variant. */ public Token createToken(Token fromToken) { return new CommonToken(fromToken); }
109110111112113114115116117118119
} // Wildcard? if ( ttype == TreePatternLexer.DOT ) { ttype = tokenizer.nextToken(); Token wildcardPayload = new CommonToken(0, "."); TreeWizard.TreePattern node = new TreeWizard.WildcardTreePattern(wildcardPayload); if ( label!=null ) { node.label = label; }
63646566676869
81828384858687