Parser.getCurrentLine

Retrieves the line currently parsed, starting from 1.

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
getCurrentLine
()

Return Value

Type: uint

the currently parsed line, or 0.