Package com.intellij.lang.cacheBuilder

Examples of com.intellij.lang.cacheBuilder.WordOccurrence


          if (tokenType == ErlangTypes.ERL_ATOM_NAME || tokenType == ErlangTypes.ERL_VAR) {
            int tokenStart = lexer.getTokenStart();
            for (TextRange wordRange : StringUtil.getWordIndicesIn(lexer.getTokenText())) {
              int start = tokenStart + wordRange.getStartOffset();
              int end = tokenStart + wordRange.getEndOffset();
              processor.process(new WordOccurrence(fileText, start, end, WordOccurrence.Kind.CODE));
            }
          }
          lexer.advance();
        }
      }
View Full Code Here

TOP

Related Classes of com.intellij.lang.cacheBuilder.WordOccurrence

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.