api / tv.twelvetone.rjson / RJsonLexer

RJsonLexer

class RJsonLexer

This class is a scanner generated by JFlex 1.7.0 from the specification file rjson.flex

Constructors

<init>

RJsonLexer(zzReader: Reader?)

This class is a scanner generated by JFlex 1.7.0 from the specification file rjson.flex

Properties

tokenEnd

val tokenEnd: Int

tokenStart

var tokenStart: Int

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

yychar

var yychar: Int

yycolumn

var yycolumn: Int

yyline

var yyline: Int

Functions

advance

fun advance(): IElementType?

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

reset

fun reset(buffer: CharSequence, start: Int, end: Int, initialState: Int): Unit

yybegin

fun yybegin(newState: Int): Unit

Enters a new lexical state

yycharat

fun yycharat(pos: Int): Char

Returns the character at position pos from the matched text.

yylength

fun yylength(): Int

Returns the length of the matched text region.

yypushback

fun yypushback(number: Int): Unit

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

yystate

fun yystate(): Int

Returns the current lexical state.

yytext

fun yytext(): CharSequence

Returns the text matched by the current regular expression.

Companion Object Properties

YYEOF

val YYEOF: Int

This character denotes the end of file

YYINITIAL

val YYINITIAL: Int

lexical states

ZZ_CMAP_A

val ZZ_CMAP_A: CharArray

ZZ_CMAP_Y

val ZZ_CMAP_Y: CharArray

ZZ_CMAP_Z

val ZZ_CMAP_Z: CharArray

Companion Object Functions

ZZ_CMAP

fun ZZ_CMAP(ch: Int): Int

Translates characters to character classes Chosen bits are 7,7,7 Total runtime size is 1928 bytes