Package com.intellij.lexer

Examples of com.intellij.lexer.MergingLexerAdapter


  @Nullable
  private Project myProject;

  public HaxeLexer(Project project) {
    super(new MergingLexerAdapter(new HaxeFlexLexer(), tokensToMerge));
    myProject = project;
  }
View Full Code Here


        mML_COMMENT,
        wsWS
    );

    public GoLexer() {
        super(new MergingLexerAdapter(new GoFlexLexer(), tokensToMerge));
        // super(new MergingLexerAdapter(new GoFixElidedSemiLexer(new GoFlexLexer()), tokensToMerge));
    }
View Full Code Here

public class ErlangLexer extends LookAheadLexer {
  public static final TokenSet KEYWORDS = TokenSet.create(
    ERL_AFTER, ERL_WHEN, ERL_BEGIN, ERL_END, ERL_OF, ERL_CASE, ERL_FUN, ERL_CATCH, ERL_IF, ERL_RECEIVE, ERL_TRY);

  public ErlangLexer() {
    super(new MergingLexerAdapter(new FlexAdapter(new _ErlangLexer()), COMMENTS));
  }
View Full Code Here

TOP

Related Classes of com.intellij.lexer.MergingLexerAdapter

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.