nameOffset property

int? get nameOffset

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

int? get nameOffset;