nameSpan property
FileSpan
get
nameSpan
override
The span containing this declaration's name.
This includes the $
for variables.
Implementation
FileSpan get nameSpan {
var startSpan = span.text.startsWith('=')
? span.subspan(1).trimLeft()
: span.withoutInitialAtRule();
return startSpan.initialIdentifier();
}