Span
Fixtype of spans.
This is a product type introduced by fty::defprod.
Fields
- start — position
- end — position
A span consists of two positions,
which characterize a contiguous portion of a file.
Each parsed construct has a span.
The ending position of a span is inclusive.
Subtopics
- Spanp
- Recognizer for span structures.
- Span-fix
- Fixing function for span structures.
- Span-equiv
- Basic equivalence relation for span structures.
- Make-span
- Basic constructor macro for span structures.
- Change-span
- Modifying constructor for span structures.
- Span->start
- Get the start field from a span.
- Span->end
- Get the end field from a span.