Package com.intellij.lang.cacheBuilder

Examples of com.intellij.lang.cacheBuilder.DefaultWordsScanner


*/
public class MathematicaFindUsageProvider implements FindUsagesProvider {
  @Nullable
  @Override
  public WordsScanner getWordsScanner() {
    return new DefaultWordsScanner(new MathematicaLexer(),
        TokenSet.create(MathematicaElementTypes.IDENTIFIER),
        MathematicaElementTypes.COMMENTS,
        MathematicaElementTypes.LITERALS);
  }
View Full Code Here


import org.jetbrains.annotations.NotNull;

public final class HaskellFindUsagesProvider implements FindUsagesProvider {

    public WordsScanner getWordsScanner() {
        return new DefaultWordsScanner(new HaskellLexer(),
            HaskellParserDefinition.IDS, HaskellParserDefinition.COMMENTS, HaskellParserDefinition.STRINGS);
    }
View Full Code Here

        return "";
    }

    @Nullable
    public WordsScanner getWordsScanner() {
        return new DefaultWordsScanner(new JFlexMergingLexer(), JFlexElementTypes.IDENTIFIERS, JFlexElementTypes.COMMENTS, JFlexElementTypes.REGEXP_SCOPE);
    }
View Full Code Here

* Date: 4/4/11
*/
public class GherkinFindUsagesProvider implements FindUsagesProvider {
  @Override
  public WordsScanner getWordsScanner() {
    return new DefaultWordsScanner(new GherkinLexer(new PlainGherkinKeywordProvider()), TokenSet.EMPTY, TokenSet.EMPTY, TokenSet.EMPTY);
  }
View Full Code Here

    public GoFindUsagesProvider() {
    }

    public WordsScanner getWordsScanner() {
        return new DefaultWordsScanner(new GoLexer(), TokenSet.create(GoTokenTypes.mIDENT), GoTokenTypeSets.COMMENTS, TokenSet.create());
    }
View Full Code Here

    private final static Logger LOG = Logger.getInstance(PbFindUsagesProvider.class.getName());

    @Override
    public WordsScanner getWordsScanner() {
        return new DefaultWordsScanner(new PbMergingLexer(),IK,COMMENTS,STRING_LITERALS);
    }
View Full Code Here

*/
public class ClojureFindUsagesProvider implements FindUsagesProvider{

  @Nullable
  public WordsScanner getWordsScanner() {
    return new DefaultWordsScanner(new ClojureFlexLexer(),
            ClojureTokenTypes.IDENTIFIERS, ClojureTokenTypes.COMMENTS, ClojureTokenTypes.STRINGS);
  }
View Full Code Here

TOP

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

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.