com.intellij.lang.cacheBuilder
Interface WordsScanner
- All Known Implementing Classes:
- DefaultWordsScanner, SimpleWordsScanner
public interface WordsScanner
Implemented by a custom language plugin to define how texts in the language are
broken into words. Used to build a word index which is later used for Find Usages.
- See Also:
FindUsagesProvider.getWordsScanner(),
SimpleWordsScanner,
DefaultWordsScanner
|
Method Summary |
void |
processWords(java.lang.CharSequence fileText,
Processor<WordOccurrence> processor)
Processes the specified text fragment and passes every word in the text to the
specified processor. |
processWords
void processWords(java.lang.CharSequence fileText,
Processor<WordOccurrence> processor)
- Processes the specified text fragment and passes every word in the text to the
specified processor.
- Parameters:
fileText - the text to break into words.processor - the processor which accepts the words in the text.