nameSpan property

FileSpan nameSpan
override

The span containing this reference's name.

For variables, this should include the $.

Implementation

FileSpan get nameSpan {
  if (namespace == null) return span.initialIdentifier();
  return span.withoutNamespace().initialIdentifier();
}