Structs§
- Block
Translation - Segment
- Segment
Block - Segment
Constraints - Segment
Context - Segment
Id - Segment
Metadata - Segment
Source - Segment
Text Run
Enums§
Constants§
- CACHE_
KEY_ SCHEMA_ VERSION - Bumped when the cache key derivation changes incompatibly.
- INLINE_
MARKER_ SCHEMA_ VERSION - Bumped when inline marker extraction (m/keep/ref) changes incompatibly.
v2: depth-anchored block closing, lazily anchored text blocks for
non-whitelist elements, addressable stray text nodes — block ordinals
and marker assignments differ from v1 on affected books.
v3: short per-block inline marker tags (
<m1>...</m1>,<r1/>) replace verbose global ids (<m id="m000000_000">...</m>). - SEGMENT_
SCHEMA_ VERSION - Bumped when Segment / SegmentBlock layout changes incompatibly.
Functions§
- block_
kind_ label - build_
segments - compute_
cache_ namespace - Compute a cache namespace that scopes lookups to a single set of schema and segmentation parameters. Cached rows from a different namespace are not eligible for reuse.
- compute_
cache_ namespace_ v1