Constructs deserializer compiler.
Compiler options.
Currently processed schema constraint, if any
Currently processed schema entry. This may be e.g. a serializer or deserializer name.
undefined
when processing nested schema. This happens e.g. when model processed
explicitly rather automatically.
Current presentation name, if any.
Currently working schema processor name.
Schema index used to uniquely identify schemas.
Bootstraps deserializer library.
Enables configured deserialization features, bootstraps library options, then creates library with that options.
Promise resolved to bundle setup.
Bootstraps deserializer library options.
Enables configured deserialization features.
Promise resolved to deserializer library options.
Requests the given schema
to be compiled.
Once compiled, an UcrxClass will be reported to the given whenCompiled
callback. It can be used
to generated parser code for the input matching the schema.
Implied data type.
Schema to compile.
Callback function to call when schema compiled.
Compiled charge receiver class.
this
instance.
Declares method
to present in all charge receiver implementations.
Type of method arguments definition.
Type of method modifier.
Declaration of method to add to charge receiver template.
this
instance.
Enables the given processing feature
.
Type of schema processing options.
Feature to enable.
this
instance.
Generates serialization code and evaluates it.
Code evaluation options.
Rest
...snippets: EsSnippet[]Additional code snippets.
Rest
Promise resolved to deserializers exported from generated module.
Configures entity handler.
Matching entity name.
Entity support feature.
this
instance.
Configures data format handler.
Matching format name.
Format support feature.
this
instance.
Configures metadata attribute handler.
Matching metadata attribute name.
Metadata support feature.
this
instance.
Applies modifier to Ucrx class created for the given schema.
Implied data type.
Target schema instance.
Ucrx class modifier.
this
instance.
Modifies the method
of the target type
receiver.
Type of method arguments definition.
Type of method modifier.
Target schema.
Method to modify.
Modifier to apply to target method
.
this
instance.
Registers schema constraint application handler.
If multiple handlers match the same criteria
, they all will be applied in order of their registration.
Handlers matching any presentation always applied after the ones matching concrete one.
Constraint options type.
Constraint criterion to apply the handler
to.
Constraint application handler to call each time the matching constraint is about to be applied.
Requests the given attribute
value to be parsed with the given schema
.
Target attribute.
Attribute value schema.
Emits code for attribute value assignment.
By default, attribute will be added to metadata.
Readonly
cx: EsSnippetReadonly
rx: EsSnippetReadonly
value: EsSnippetthis
instance.
Applies model processing instructions specified as its constraints.
Implied data type.
Target model.
this
instance.
Assigns default inset lexer to use for the given deserializer entry.
Deserializer entry name.
Inset lexer factory code generator.
this
instance.
Assigns lexer to use by the given deserializer entry.
Target deserializer entry name.
Lexer factory code generator.
this
instance.
Assigns Ucrx class to use for target
value type or schema processing.
The class prototype provided for particular schema takes precedence over the one provided for the type.
Implied data type.
Name or class of target value type, or target schema instance.
Ucrx class prototype.
this
instance.
Protected
handleHandles just enabled schema processing feature feature
.
Enabled feature.
Either feature handle, or nothing.
Protected
processProtected
startStarts schema processing bootstrap.
New schema processing bootstrap instance.
Generated using TypeDoc
Compiler of schema deserializers.