Skip to main content

Crate reflectapi_schema

Crate reflectapi_schema 

Source

Structs§

CircularDependencyResolutionStage
Detects and resolves circular dependencies using Tarjan’s SCC algorithm and configurable resolution strategies.
Enum
Field
Function
Glob
Bulk renamer of modules using glob patterns.
LanguageSpecificTypeCodegenConfig
NamingResolutionStage
Sanitizes type names by stripping module paths and handling naming conflicts.
NormalizationPipeline
Normalization pipeline that applies multiple stages in sequence
Normalizer
Main normalizer that converts a raw Schema into a SemanticSchema
PatternError
A pattern parsing error.
PipelineBuilder
Builder for configuring a normalization pipeline.
Primitive
ResolvedTypeReference
Resolved type reference with guaranteed validity
RustTypeCodegenConfig
Schema
SemanticEnum
SemanticField
SemanticFunction
Fully resolved function definition
SemanticPrimitive
SemanticSchema
Semantic schema with fully resolved types and deterministic ordering
SemanticStruct
SemanticTypeParameter
SemanticVariant
Struct
SymbolId
Stable, unique identifier for symbols that persists across all pipeline stages
SymbolInfo
SymbolTable
Symbol table for efficient lookups and validation
TypeConsolidationStage
Merges input_types and output_types into a single unified types collection. Handles naming conflicts by renaming types with prefixes.
TypeParameter
TypeReference
Typespace
Variant

Enums§

Consolidation
Controls whether and how input/output types are merged.
FieldStyle
Fields
Naming
Controls how type names are resolved.
NormalizationError
OutputType
Representation
ResolutionStrategy
SemanticOutputType
SemanticType
Resolved type definition with semantic validation
SerializationMode
SymbolKind
Type

Constants§

STDLIB_TYPES
Well-known stdlib and common crate types used in ReflectAPI schemas. Each entry is (fully-qualified name, SymbolKind).
STDLIB_TYPE_PREFIXES
Prefixes that identify well-known stdlib and common crate types. Used for broad matching when exact name lookup is not sufficient (e.g., types not explicitly listed in STDLIB_TYPES).

Traits§

Instantiate
NormalizationStage
Trait for individual normalization stages in the pipeline
Pattern
VisitMut
Visitor
A trait for traversing a Schema and its children.

Functions§

ensure_symbol_ids
Ensure all symbols in the schema have unique, stable IDs based on their canonical names.