api / tv.twelvetone.rjson / RJsonLexer / yycharat

yycharat

fun yycharat(pos: Int): Char

Returns the character at position pos from the matched text.

It is equivalent to yytext().charAt(pos), but faster

Parameters

pos - the position of the character to fetch. A value from 0 to yylength()-1.

Return
the character at position pos