lineNumber

abstract val lineNumber: Int

Returns the current line number, starting from 1.

When the parser does not know the current line number or can not determine it, -1 is returned (e.g. for WBXML).

Return

current line number or -1 if unknown.