Package com.intellij.psi.search

Examples of com.intellij.psi.search.PsiSearchHelper


        {
            return selectorProcessor;
        }

        selectorProcessor = new CssSelectorSearchProcessor(selector);
        PsiSearchHelper helper = CssUtils.getPsiSearchHelper(project);
        helper.processElementsWithWord(selectorProcessor, searchScope, selectorProcessor.getSearchWord(), searchContext, true);

        selectorProcessorCache.put(selector, selectorProcessor);

        return selectorProcessor;
    }
View Full Code Here


        {
            return mediaProcessor;
        }

        mediaProcessor = new CssMediaSearchProcessor(media);
        PsiSearchHelper helper = CssUtils.getPsiSearchHelper(project);
        helper.processElementsWithWord(mediaProcessor, searchScope, mediaProcessor.getSearchWord(), searchContext, true);

        mediaProcessorCache.put(media, mediaProcessor);

        return mediaProcessor;
    }
View Full Code Here

      }
    });


    final short context = (short)(UsageSearchContext.IN_STRINGS | UsageSearchContext.IN_CODE);
    final PsiSearchHelper instance = SERVICE.getInstance(stepDefinitionElement.getProject());
    return instance.processElementsWithWord(processor, searchScope, word, context, true);
  }
View Full Code Here

TOP

Related Classes of com.intellij.psi.search.PsiSearchHelper

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.