Skip to main content

Module parameter

Module parameter 

Source
Expand description

Template-only shapes (spec 034, 3.1 to 3.4). Core checks declaration bounds, locks and site compatibility before substituting JSON values.

Structs§

BoundField
ParamField
ParamRef
Exactly one member (spec 034, 3.3.1).
ParameterDecl

Enums§

Bounds
Bounds shapes (spec 034, 3.2.1). unique_items defaults to false and is always written, including false, in canonical bytes.
Enabled
Optional-item control (spec 034, 3.4.3).
Lock
ParamDefault
ParamType
Exact external tags from spec 034, 3.2.1.

Constants§

MAX_ENUM_OPTIONS
MAX_ITEMS
MAX_PARAMETERS
MAX_RECORD_FIELDS
MAX_REFERENCE_SITES
MAX_TEXT_BYTES
MAX_VARIANTS
MIN_ENUM_OPTIONS
MIN_ITEMS
MIN_RECORD_FIELDS
MIN_TEXT_BYTES

Functions§

is_parameter_name
The ASCII name grammar of spec 034, 3.1.3.
is_variant_name
Variant names use the same grammar (spec 034, 3.1.3).