SpecialMarker

Identifies ranges of tokens in the source tokens that need to be rewritten

Members

Variables

functionAttribute
string functionAttribute;

The function attribute such as const, immutable, or inout to move

index
size_t index;

Begin byte position (before relocateMarkers) or token index (after relocateMarkers)

nodes
const(TypeSuffix[]) nodes;

The type suffix AST nodes that should be moved

type
SpecialMarkerType type;

Range type

Meta