get_current_pos


Description:

public uint get_current_pos ()

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.

Parameters:

this

a parser

Returns:

the position in the current line, or 0.




2022 vala-language.org