Module shared

Module shared 

Source
Expand description

Document-local lexical bindings and explicitly supplied enclosing scopes.

Re-exports§

pub use serde_json;

Structs§

SharedValueContext
Typed shared values whose definitions are persisted by the caller.

Traits§

SharedJson
Contextual JSON serialization generated for explicitly shared fields.

Functions§

decode_dc_identifier
Reads a Dc-native identifier without lossy Unicode conversion.
decode_identifier
Reads an identifier without interpreting its name as an expression.
decode_shared_reference
Reads an assignment whose value is a named reference.
encode_dc_identifier
Emits a nonempty Dc-native identifier using Dc 270..271 framing.
encode_dc_identifier_to
encode_declaration
Declares a concrete value using Dc 269 and registers it for later references.
encode_identifier
Emits a nonempty Unicode identifier using Dc 270..271 framing.
encode_identifier_to
encode_scope_begin
Emits a lexical scope boundary and opens its binding table.
encode_scope_end
Emits the closing boundary and discards declarations in that scope.
encode_shared_reference
Assigns a field from a lexically bound value using identifiers, not strings.
encode_shared_reference_to
shared_from_json
Decodes a contextual envelope, preserving registered Arc identity.
shared_to_json
Encodes a shared JSON field using an unambiguous contextual envelope.