nameSpan property

FileSpan get nameSpan
override

The span containing this reference's name.

For variables, this should include the $.

Implementation

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