Expand description
Database-syntax-driven hierarchical navigator, reusable syntax arena, and
projection policies for Document Character (Dc) streams and files.
Structs§
- Binary
Checksum - Expected digest and algorithm for a binary encapsulation.
- DcByte
Span - Byte span in a source buffer or on-disk file.
- DcDocument
Navigator - DcFrame
Stub - Lightweight descriptor for a single sibling frame or statement at the navigator’s current tree depth, produced without allocating child AST nodes.
- DcProjection
Policy - 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.
- DcSyntax
Arena - Flat, reusable arena holding parsed
DcSyntaxNodes for a frame or document. - DcSyntax
Node - A span-annotated CST node inside a
DcSyntaxArena. - Default
DcExpression Evaluator - Default expression evaluator supporting equivalent representations and Dc-WASM helper routines.
- Navigator
Checkpoint - Checkpoint holding cursor and spliced token slice state for backtracking in
DcDocumentNavigator. - NodeId
- Index of a node inside a
DcSyntaxArena. - Shared
Quota DcExpression Evaluator - Expression evaluator sharing a task-level
crate::converters::wasm::SharedWasmTaskQuotaacross all helper evaluations and nested syntax contexts. - Syntax
Eval Context - Execution context for evaluating
SyntaxPatternrules directly over aDcDocumentNavigator. - Syntax
Runtime Resolver - Runtime resolver providing syntax rule lookups, dynamic
<equiv>overlays, and customDcRoleclassifications for Document Character formats and streams.
Enums§
- Binary
Payload Ref - Reference to a binary payload inside a parsed Dc document.
- Bootstrap
Kernel Version - Version of the minimal trusted bootstrap kernel contract governing physical token
codecs (
DcTF,.dcmmheader,Dc 203..Dc 204),SeedGraphIndexactive triple resolution (Dc 584,Dc 610,Dc 591,Dc 592,Dc 611),.Semantic:Patternoperators (Dc 599..Dc 607,Dc 642..Dc 644), and Dc-WASM binary lowering (Dc 647..Dc 1928) + 32-byte mailbox ABI (0..32). - DcEvaluated
Value - Result of evaluating an expression in a value position.
- DcFrame
Header Info - Lightweight header summary attached to a
DcFrameStubduring shallow level navigation. - DcPin
Provenance - Provenance of the active System-block snapshot resolution policy for a
DcDocumentNavigatorscope. - DcSyntax
Kind - Syntax node kind in a
DcSyntaxArena. - Diagnostic
Action - Action to take when a syntax or projection anomaly is encountered.
- Value
Requirement - 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
.dcmmfile. 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§
- DcBinary
Resolver - Resolver capable of materializing lazy
BinaryPayloadRef::FileSpanpayloads from an underlying seekable file during CST projection. - DcExpression
Evaluator - Trait for evaluating expressions (e.g. Lisp/Scheme-like expressions or stream splicing) in Dc streams.
- DcForgiving
Default - Fallback value provider used when projecting structs or fields under a
non-
ErrorDcProjectionPolicy(forgiving()).
Functions§
- validate_
dc_ mixed_ strict - Strictly validates a
DcMstrbuffer against all Document Character syntax rules, paired container delimiters, and constraints. - validate_
dc_ str_ strict - Strictly validates a
DcStrbuffer against all Document Character syntax rules, paired container delimiters, and constraints. - validate_
dc_ tokens_ strict - Strictly validates a raw
u128Document Character token slice against all Document Character syntax rules, paired container delimiters, and constraints.