Package org.intellij.lang.jflex.lexer

Source Code of org.intellij.lang.jflex.lexer.JFlexMergingLexer

package org.intellij.lang.jflex.lexer;

import com.intellij.lexer.FlexAdapter;
import com.intellij.lexer.MergingLexerAdapter;
import com.intellij.psi.tree.TokenSet;
import org.intellij.lang.jflex.JFlexElementTypes;

/**
* Created by IntelliJ IDEA.
* User: Max
* Date: 15.03.2008
* Time: 15:36:05
*/
public class JFlexMergingLexer extends MergingLexerAdapter {

    public static final TokenSet mergeme = TokenSet.create(JFlexElementTypes.JAVA_CODE);

    public JFlexMergingLexer() {

        super(new FlexAdapter(new _JFlexLexer((java.io.Reader) null)), mergeme);

    }

}
TOP

Related Classes of org.intellij.lang.jflex.lexer.JFlexMergingLexer

TOP
Copyright © 2018 www.massapi.com. 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.