Exemplo n.º 1
0
 public SymbolToken find(String text) {
   SymbolToken tok = null;
   if (myOriginalSymTab != null) {
     tok = myOriginalSymTab.find(text);
     // If symbol token is found but its sid is beyond the correct max
     // id of the substitute, then return null, as it should not be
     // found at all.
     if (tok != null && tok.getSid() > myMaxId) {
       tok = null;
     }
   }
   return tok;
 }