Package dtool.resolver

Examples of dtool.resolver.PrefixDefUnitSearch


 
  @Override
  public void performRefSearch(CommonDefUnitSearch search) {
    //TODO review this code
    if(search instanceof PrefixDefUnitSearch) {
      PrefixDefUnitSearch prefixDefUnitSearch = (PrefixDefUnitSearch) search;
      doSearch_forPrefixSearch(prefixDefUnitSearch);
    } else {
      assertTrue(isMissingCoreReference() == false);
      DefUnitSearch defUnitSearch = (DefUnitSearch) search;
      IModuleResolver mr = search.getModuleResolver();
View Full Code Here


  public void test_resolveSearchInMembersScope________() throws Exception {
    
  }
 
  protected static void testResolveSearchInMembersScope(INamedElement namedElement, String... expectedResults) {
    PrefixDefUnitSearch search = new PrefixDefUnitSearch(null, 0, new NullModuleResolver());
    namedElement.resolveSearchInMembersScope(search);
   
    DefUnitResultsChecker resultsChecker = new DefUnitResultsChecker(search.getResults());
    resultsChecker.removeIgnoredDefUnits(true, true);
    resultsChecker.checkResults(expectedResults);
  }
View Full Code Here

    return searchOptions;
  }
 
  public static CompletionSearchResult performCompletionSearch(int offset, IModuleResolver mr, Module module,
      ASTNode node, PrefixSearchOptions searchOptions) {
    PrefixDefUnitSearch search = new PrefixDefUnitSearch(module, offset, mr, searchOptions);
    node.performRefSearch(search);
    return new CompletionSearchResult(search.searchOptions, search.getResults());
  }
View Full Code Here

TOP

Related Classes of dtool.resolver.PrefixDefUnitSearch

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.