Parser.getCurrentPos
uint getCurrentPos()Retrieves the current position inside the current line, starting from 0.
This function has defined behaviour only while parsing; calling this function from outside the signal handlers emitted by the parser will yield 0.
Returns
the position in the current line, or 0.