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