offset property

int get offset

A canonical offset to the fragment within the source file.

If the fragment has a name, this is equal to nameOffset2. Otherwise it is the offset of some character within the fragment; see subclasses for more information.

If the fragment is of a kind that would normally have a name, but there is no name due to error recovery, then the exact offset is unspecified, but is guaranteed to be within the span of the tokens that constitute the fragment's declaration.

Implementation

int get offset;