get_current_line


Description:

public uint get_current_line ()

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.

Parameters:

this

a parser

Returns:

the currently parsed line, or 0.