Skip to main content

Crate morphir_projection

Crate morphir_projection 

Source
Expand description

Shared normalization from Morphir IR into a body-free projection model.

Backend extensions decode IR v3 or v4 with normalize() and then project the resulting ProjectionPackage into their own target model. The model keeps public declarations, documentation, source FQNames, dependencies, and v4 entry-point metadata, and drops every value body.

Structs§

Constructor
A custom type constructor.
EntryPointMetadata
Metadata attached to a declared v4 application entry point.
NamedType
A named field, constructor argument, or value input.
ProjectionDependency
A one-level package specification supplied as a distribution dependency.
ProjectionModule
A public Morphir module after access filtering.
ProjectionPackage
A body-free package view used by Avro projection.
ValueSpecification
A public value signature. It intentionally has no value body field.

Enums§

DistributionKind
Morphir distribution category retained by the projection model.
EntryPointKind
Morphir v4 application entry-point category.
IncompletenessKind
The amount of information available for an incomplete v4 type.
NormalizeError
Failure to decode the supplied Morphir IR generation.
TypeDeclaration
A public type declaration or specification.
TypeExpr
Morphir type forms that can contribute to Avro schemas.
ValueKind
Whether a value is invoked with arguments or denotes a constant.

Functions§

lower_camel
Convert source to lowerCamelCase, treating any run of non-alphanumeric characters as a word boundary.
normalize
Normalize a supported Morphir IR distribution to its public, body-free model.
upper_camel
Convert source to UpperCamelCase, treating any run of non-alphanumeric characters as a word boundary.