sourceName property

  1. @override
String sourceName
override

The name of the input source. If this value is null, a call to {@link #getSourceName} should return the source name used to create the the next token in {@link #tokens} (or the previous token if the end of the input has been reached).

Implementation

@override
String get sourceName => _sourceName ?? inputStream?.sourceName ?? 'List';