nameSpan property
FileSpan
get
nameSpan
override
The span containing this declaration's name.
This includes the $
for variables.
Implementation
FileSpan get nameSpan {
var span = this.span;
if (namespace != null) span = span.withoutNamespace();
return span.initialIdentifier(includeLeading: 1);
}