nameSpan property

FileSpan get nameSpan
override

The span containing this declaration's name.

This includes the $ for variables.

Implementation

FileSpan get nameSpan =>
    defaultValue == null ? span : span.initialIdentifier(includeLeading: 1);