Example #1
0
 public int depth() {
   if (contextFrame == null) {
     return -1;
   } else {
     return contextFrame.depth();
   }
 }
Example #2
0
 public void openScope() {
   contextFrame.openScope();
 }
Example #3
0
 public void closeFrame() {
   contextFrame = contextFrame.getParent();
 }
Example #4
0
 public String addEntry(TypeRef type) {
   String name = newName();
   contextFrame.addEntry(name, type);
   return name;
 }
Example #5
0
 public int addEntry(String name, TypeRef type) {
   return contextFrame.addEntry(name, type);
 }
Example #6
0
 public ClosureLocalBinding lookupOnlyCurrentScope(String name) {
   return contextFrame.lookupOnlyCurrentScope(name);
 }
Example #7
0
 public ClosureLocalBinding lookup(String name) {
   return contextFrame.lookup(name);
 }
Example #8
0
 public void closeScope() {
   contextFrame.closeScope();
 }