line property

  1. @override
int line
override

The scanner's current (zero-based) line number.

Implementation

@override
int get line => _sourceFile.getLine(position);