예제 #1
0
 public static AbsDecl getNameDecl(AbsTree node) {
   AbsDecl decl = nameDecl.get(node);
   return decl;
 }
예제 #2
0
 public static Integer getScope(AbsTree node) {
   Integer nodeScope = scope.get(node);
   return nodeScope;
 }
예제 #3
0
 public static void setNameDecl(AbsTree node, AbsDecl decl) {
   nameDecl.put(node, decl);
 }
예제 #4
0
 public static void setScope(AbsTree node, int nodeScope) {
   scope.put(node, new Integer(nodeScope));
 }