commonMain.org.intellij.markdown.lexer.GeneratedLexer.kt Maven / Gradle / Ivy
package org.intellij.markdown.lexer
import org.intellij.markdown.IElementType
interface GeneratedLexer {
val tokenStart: Int
val tokenEnd: Int
fun reset(buffer: CharSequence, start: Int, end: Int, initialState: Int)
fun advance(): IElementType?
val state: Int
}
fun ArrayList.push(e: E) {
add(e)
}
fun ArrayList.pop(): E = removeLast()
© 2015 - 2025 Weber Informatics LLC | Privacy Policy