nodeStart property

RuneOffset get nodeStart

Actual start offset of the node.

For an alias, this represents the end offset of its alias name since it acts as a reference to another node. Thus, to an alias, the span information nodeStart to nodeEnd represents its layout in the YAML source. Prefer using propertySpan if you want its name's offset.

Implementation

RuneOffset get nodeStart;