GLib.Scanner.prototype.cur_position
function cur_position(): Number(guint) { // Gjs wrapper for g_scanner_cur_position() }
Returns the current position in the current line (counting from 0). This is the position of the last token parsed via GLib.Scanner.prototype.get_next_token.
- Returns
the current position on the line