Package org.eclipse.dltk.ast.declarations

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


     
      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

Related Classes of org.eclipse.dltk.ast.declarations.ModuleDeclarationWrapper

Copyright © 2018 www.massapicom. 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.