Parser.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.

class Parser
uint
getCurrentPos
()

Return Value

Type: uint

the position in the current line, or 0.