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.
- Entry
Point Metadata - Metadata attached to a declared v4 application entry point.
- Named
Type - A named field, constructor argument, or value input.
- Projection
Dependency - A one-level package specification supplied as a distribution dependency.
- Projection
Module - A public Morphir module after access filtering.
- Projection
Package - A body-free package view used by Avro projection.
- Value
Specification - A public value signature. It intentionally has no value body field.
Enums§
- Distribution
Kind - Morphir distribution category retained by the projection model.
- Entry
Point Kind - Morphir v4 application entry-point category.
- Incompleteness
Kind - The amount of information available for an incomplete v4 type.
- Normalize
Error - Failure to decode the supplied Morphir IR generation.
- Type
Declaration - A public type declaration or specification.
- Type
Expr - Morphir type forms that can contribute to Avro schemas.
- Value
Kind - Whether a value is invoked with arguments or denotes a constant.
Functions§
- lower_
camel - Convert
sourcetolowerCamelCase, 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
sourcetoUpperCamelCase, treating any run of non-alphanumeric characters as a word boundary.