method

lineno

lineno()
public

The line number of the current token. This value starts from 1. This method is valid only in event handlers.