예제 #1
0
 public CompileUnit getCompileUnit() {
   if (redirect != null) return redirect().getCompileUnit();
   if (compileUnit == null && module != null) {
     compileUnit = module.getUnit();
   }
   return compileUnit;
 }
예제 #2
0
 public void setModule(ModuleNode module) {
   redirect().module = module;
   if (module != null) {
     redirect().compileUnit = module.getUnit();
   }
 }