Module navigator

Module navigator 

Source
Expand description

Database-syntax-driven hierarchical navigator, reusable syntax arena, and projection policies for Document Character (Dc) streams and files.

Structs§

BinaryChecksum
Expected digest and algorithm for a binary encapsulation.
DcByteSpan
Byte span in a source buffer or on-disk file.
DcDocumentNavigator
DcFrameStub
Lightweight descriptor for a single sibling frame or statement at the navigator’s current tree depth, produced without allocating child AST nodes.
DcProjectionPolicy
Unified caller-specified policy governing how syntax errors, unknown tags, deprecated constructs, malformed or missing fields, and resource budgets are handled across Dc document parsing, validation, inspection, and typed projection.
DcSyntaxArena
Flat, reusable arena holding parsed DcSyntaxNodes for a frame or document.
DcSyntaxNode
A span-annotated CST node inside a DcSyntaxArena.
DefaultDcExpressionEvaluator
Default expression evaluator supporting equivalent representations and Dc-WASM helper routines.
NavigatorCheckpoint
Checkpoint holding cursor and spliced token slice state for backtracking in DcDocumentNavigator.
NodeId
Index of a node inside a DcSyntaxArena.
SharedQuotaDcExpressionEvaluator
Expression evaluator sharing a task-level crate::converters::wasm::SharedWasmTaskQuota across all helper evaluations and nested syntax contexts.
SyntaxEvalContext
Execution context for evaluating SyntaxPattern rules directly over a DcDocumentNavigator.
SyntaxRuntimeResolver
Runtime resolver providing syntax rule lookups, dynamic <equiv> overlays, and custom DcRole classifications for Document Character formats and streams.

Enums§

BinaryPayloadRef
Reference to a binary payload inside a parsed Dc document.
BootstrapKernelVersion
Version of the minimal trusted bootstrap kernel contract governing physical token codecs (DcTF, .dcmm header, Dc 203..Dc 204), SeedGraphIndex active triple resolution (Dc 584, Dc 610, Dc 591, Dc 592, Dc 611), .Semantic:Pattern operators (Dc 599..Dc 607, Dc 642..Dc 644), and Dc-WASM binary lowering (Dc 647..Dc 1928) + 32-byte mailbox ABI (0..32).
DcEvaluatedValue
Result of evaluating an expression in a value position.
DcFrameHeaderInfo
Lightweight header summary attached to a DcFrameStub during shallow level navigation.
DcPinProvenance
Provenance of the active System-block snapshot resolution policy for a DcDocumentNavigator scope.
DcSyntaxKind
Syntax node kind in a DcSyntaxArena.
DiagnosticAction
Action to take when a syntax or projection anomaly is encountered.
ValueRequirement
Requirement for a value position in Document Character syntax.

Constants§

DEFAULT_MAX_ENCAPSULATION_METADATA_DEPTH
Default maximum checksum-metadata nesting depth allowed when parsing textual binary encapsulation metadata.
DEFAULT_MAX_ENCAPSULATION_PAYLOAD_BYTES
Default maximum decoded payload size allowed when parsing a textual binary encapsulation into memory.
DEFAULT_MAX_PROJECTION_DEPTH
Default maximum container and wrapper nesting depth during arena building and projection.
INLINE_BINARY_THRESHOLD
Maximum binary payload size (in bytes) eagerly loaded into memory when navigating or expanding frames from a seekable on-disk .dcmm file. Larger binary regions are represented as [BinaryPayloadRef::FileSpan].
MAX_BINARY_METADATA_BYTES
Default maximum eagerly parsed metadata size for a seekable encapsulation.
MAX_SYNTAX_EXPANSION_DEPTH
Maximum recursion depth allowed during grammar rule expansion.

Traits§

DcBinaryResolver
Resolver capable of materializing lazy BinaryPayloadRef::FileSpan payloads from an underlying seekable file during CST projection.
DcExpressionEvaluator
Trait for evaluating expressions (e.g. Lisp/Scheme-like expressions or stream splicing) in Dc streams.
DcForgivingDefault
Fallback value provider used when projecting structs or fields under a non-Error DcProjectionPolicy (forgiving()).

Functions§

validate_dc_mixed_strict
Strictly validates a DcMstr buffer against all Document Character syntax rules, paired container delimiters, and constraints.
validate_dc_str_strict
Strictly validates a DcStr buffer against all Document Character syntax rules, paired container delimiters, and constraints.
validate_dc_tokens_strict
Strictly validates a raw u128 Document Character token slice against all Document Character syntax rules, paired container delimiters, and constraints.