Package com.intellij.lang.ognl.lexer

Examples of com.intellij.lang.ognl.lexer.OgnlLexer


* @author Yann Cébron
*/
public class OgnlHighlightingLexer extends LayeredLexer {

  public OgnlHighlightingLexer() {
    super(new OgnlLexer());

    final StringLiteralLexer stringLiteralLexer = new StringLiteralLexer('\"', OgnlTypes.STRING_LITERAL);
    registerSelfStoppingLayer(stringLiteralLexer,
                              new IElementType[]{OgnlTypes.STRING_LITERAL},
                              IElementType.EMPTY_ARRAY);
View Full Code Here


  private static final TokenSet WHITE_SPACE_TOKENS = TokenSet.create(TokenType.WHITE_SPACE);

  @NotNull
  @Override
  public Lexer createLexer(final Project project) {
    return new OgnlLexer();
  }
View Full Code Here

TOP

Related Classes of com.intellij.lang.ognl.lexer.OgnlLexer

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.