nameOffset2 property

  1. @Deprecated('Use nameOffset instead')
int? get nameOffset2

The offset of the name of this element.

If a fragment, e.g. an ExtensionFragment, does not have a name, then the name offset is null.

If the fragment declaration node does not have the name specified, and the parser inserted a synthetic token, then the name is null, and the name offset is null.

For a synthetic fragment, e.g. ConstructorFragment the name offset is null.

Implementation

@Deprecated('Use nameOffset instead')
int? get nameOffset2;