Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package javassist.compiler;
 /*    */ 
 /*    */ import java.util.HashMap;
 /*    */ import javassist.compiler.ast.Declarator;
 /*    */ 
 /*    */ public final class SymbolTable extends HashMap
 /*    */ {
 /*    */   private SymbolTable parent;
 /*    */ 
/*    */   public SymbolTable()
/*    */   {
/* 24 */     this(null);
/*    */   }
/*    */ 
/*    */   public SymbolTable(SymbolTable p) {
/* 28 */     this.parent = p;
/*    */   }
/*    */   public SymbolTable getParent() {
/* 31 */     return this.parent;
/*    */   }
/*    */   public Declarator lookup(String name) {
/* 34 */     Declarator found = (Declarator)get(name);
/* 35 */     if ((found == null) && (this.parent != null)) {
/* 36 */       return this.parent.lookup(name);
/*    */     }
/* 38 */     return found;
/*    */   }
/*    */ 
/*    */   public void append(String nameDeclarator value) {
/* 42 */     put(name, value);
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     javassist.compiler.SymbolTable
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X