示例#1
0
 private final int makeToken(int id, String text) {
   currentToken.id = id;
   currentToken.lookback = id;
   currentToken.text = text;
   return id;
 }
示例#2
0
 private final int makeToken(int id) {
   currentToken.id = id;
   currentToken.lookback = id;
   currentToken.text = null;
   return id;
 }
示例#3
0
 private final int makeCommentToken(int id, String text) {
   currentToken.id = id;
   // leave currentToken.lookback alone, comments dont count.
   currentToken.text = text;
   return id;
 }