nameSpan property

  1. @override
FileSpan get nameSpan
override

The span containing this reference's name.

For variables, this should include the $.

Implementation

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