com.intellij.lexer.FlexLexer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of symbol-processing-aa Show documentation
Show all versions of symbol-processing-aa Show documentation
KSP implementation on Kotlin Analysis API
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.lexer;
import com.intellij.psi.tree.IElementType;
import org.jetbrains.annotations.NonNls;
import java.io.IOException;
@NonNls public interface FlexLexer {
void yybegin(int state);
int yystate();
int getTokenStart();
int getTokenEnd();
IElementType advance() throws IOException;
void reset(CharSequence buf, int start, int end, int initialState);
}