GLib.Scanner.prototype.cur_line

function cur_line(): Number(guint) {
    // Gjs wrapper for g_scanner_cur_line()
}
  

Returns the current line in the input stream (counting from 1). This is the line of the last token parsed via GLib.Scanner.prototype.get_next_token.

Returns

the current line