Construct a native specification with bounded initial reservations.
reservePropertiesInitial property capacity, from 0 to 127.
reserveShorthandsInitial shorthand capacity, from 0 to 254.
Look up either Rml::PropertySpecification::GetProperty overload.
nameOrIdLocal property name or id.
Checked definition, or null when absent.
Copy Rml::PropertySpecification::GetRegisteredInheritedProperties.
Inherited ids in ascending order.
Copy Rml::PropertySpecification::GetRegisteredProperties.
Registered ids in ascending order.
Copy Rml::PropertySpecification::GetRegisteredPropertiesForcingLayout.
Layout-forcing ids in ascending order.
Copy either Rml::PropertySpecification::GetShorthand overload.
nameOrIdLocal shorthand name or id.
Structural snapshot with live definitions, or null when absent.
Parse either Rml::PropertySpecification::ParsePropertyDeclaration overload.
dictionaryNative output dictionary.
nameOrIdProperty/shorthand/custom variable name, or property id.
valueRaw declaration value.
Native success; partial native writes remain on failure.
Parse a shorthand declaration into its component properties in the output dictionary.
dictionaryNative output dictionary.
idRegistered local shorthand id.
valueRaw declaration value.
Native success; partial native writes remain on failure.
Rml::PropertySpecification::PropertiesToString in ascending property order.
dictionaryDictionary whose plain properties are serialized.
includeNameInclude property names before values.
delimiterOne UTF-8 byte, matching the native char parameter.
Native text without a trailing delimiter.
Register a property and its default, inheritance and layout behavior in this specification.
nameProperty name; empty and "invalid" are reserved.
defaultValueUnparsed default value.
inheritedWhether the property inherits.
forcesLayoutWhether changes dirty layout.
idExplicit local id, or Invalid for the next id; default Invalid.
Mutable definition, preserving an existing same-name definition.
Register a shorthand and its component properties in this local specification.
nameShorthand name.
propertiesComma-separated component names, with native ?/# flags.
typeNative shorthand parsing strategy.
idExplicit local id, or Invalid to allocate; default Invalid.
Registered id, or Invalid for missing components or duplicates.
Fill missing values with Rml::PropertySpecification::SetPropertyDefaults.
dictionaryDictionary updated without overwriting existing values.
Own an Rml::PropertySpecification with local property and shorthand ids.
Remarks
Registered definitions retain native storage until shutdown, including when this JS wrapper is collected. Shutdown invalidates specifications and their definitions. Returned id arrays and shorthand structures are snapshots.