_GFMLexer

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override var state: Int

the current lexical state

Link copied to clipboard
open override val tokenEnd: Int
Link copied to clipboard
open override var tokenStart: Int

startRead marks the beginning of the yytext() string in the buffer

Functions

Link copied to clipboard
open override fun advance(): IElementType?

Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.

Link copied to clipboard
open override fun reset(buffer: CharSequence, start: Int, end: Int, initialState: Int)
Link copied to clipboard
fun yybegin(newState: Int)

Enters a new lexical state

Link copied to clipboard
fun yycharat(pos: Int): Char

Returns the character at position pos from the matched text.

Link copied to clipboard
fun yylength(): Int

Returns the length of the matched text region.

Link copied to clipboard
fun yypushback(number: Int)

Pushes the specified amount of characters back into the input stream.

Link copied to clipboard
fun yystate(): Int

Returns the current lexical state.

Link copied to clipboard

Returns the text matched by the current regular expression.