LatteTokenTypes.WHITE_SPACE,
LatteTokenTypes.HTML_TEXT
);
public LatteTopLexer() {
super(new LookAheadLexer(new FlexAdapter(new _LatteTopLexer((Reader) null))) {
@Override
protected void lookAhead(Lexer lex) {
IElementType type = lex.getTokenType();
if(type == LatteTokenTypes.N_ATTR) { // n: attr - keep all interesting tokens as they are