Module anchors

Module anchors 

Source
Expand description

Semantic validation for anchor placement.

Anchors require context to be meaningful:

  • Boundary anchors (at start/end of sequence) need parent named node context
  • Interior anchors (between items) are always valid

This validation ensures anchors are placed where they can be meaningfully compiled.

Functionsยง

validate_anchors