yycharat

fun yycharat(position: Int): Char

Returns the character at the given position from the matched text.

It is equivalent to {@code yytext().charAt(pos)}, but faster.

Return

the character at {@code position}.

Parameters

position

the position of the character to fetch. A value from 0 to {@code yylength()-1}.