Examples of ModuleDeclarationWrapper


Examples of org.eclipse.dltk.ast.declarations.ModuleDeclarationWrapper

    }
  }
 
  protected static DeeModuleDeclaration getDeeModuleDeclaration(ModuleDeclaration parsedUnit) {
    if(parsedUnit instanceof ModuleDeclarationWrapper) {
      ModuleDeclarationWrapper wrapper = (ModuleDeclarationWrapper) parsedUnit;
      if(wrapper.getTarget() instanceof DeeModuleDeclaration) {
        return (DeeModuleDeclaration) wrapper.getTarget();
      }
    }
    throw assertFail();
  }
View Full Code Here

Examples of org.eclipse.dltk.ast.declarations.ModuleDeclarationWrapper

     
      ParsedModule parsedModule = DToolClient.getDefaultModuleCache().getParsedModuleOrNull(filePath);
      if(parsedModule == null) {
        return null;
      }
      return new ModuleDeclarationWrapper(new DeeModuleDeclaration(parsedModule));
      //return super.parse(possibleMatch);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.