Expand description
Shared Intermediate Representation (IR) for bi-directional React Native <-> NV codegen.
Structs§
- Command
Spec - Imperative native command declared via
codegenNativeCommands. - Component
Options - Optional second-argument metadata passed to
codegenNativeComponent(name, options). - Event
Spec - Component event handler specification (
DirectEventHandler/BubblingEventHandler). - Export
Compose Output - Output bundle for
export_compose: typed Kotlin@Composablewrappingio.github.nativeview.compose.NvSurface. - Export
Flutter Output - Output bundle for
export_flutter: typed DartStatefulWidgetusingdart:ffi - Export
Nitro UiOutput - Output bundle for
export_nitro_ui(margelo/nitro-uibare Nitro view module). - Export
RnOutput - Output bundle for
export_rn(NV -> React Native Fabric NativeComponent). - Export
Swift UiOutput - Output bundle for
export_swiftui: typed SwiftUIViewwrappingNativeViewSwiftUI.NvSurfaceRepresentable. - Export
WebComponent Output - Output bundle for
export_web_component: Light-DOM Custom Element<nv-...>+.d.ts+ typed React.tsx. - Generated
File - A single generated artifact with its relative output path and full UTF-8 source.
- Import
RnOutput - Output bundle for Direction 1 (
import_rn: RN -> NV). - Multi
Target Export Output - Unified multi-target export bundle returned by
crate::export_target/crate::export_all_targets. - Object
Field - Named field inside a structured object prop or event payload.
- Param
Spec - Parameter for a native command or TurboModule method.
- Prop
Spec - Component prop specification.
- RnComponent
Spec - Parsed React Native Fabric
*NativeComponent.{ts,js}specification. - Turbo
Module Method - Parsed method on a React Native
TurboModuleSpecinterface. - Turbo
Module Spec - Parsed React Native
Native*.{ts,js}TurboModule specification.
Enums§
- Default
Value - Typed literal default value extracted from
WithDefault<T, default>. - Event
Bubbling - React Native Fabric event dispatch semantics.
- Export
Target - Target framework for multi-target export from
#[nativeview_hybrid_spec]/#[nv_hybrid_view]. - Parsed
RnSpec - Result of parsing any React Native Codegen spec file.
- Prop
Type - Typed value representation shared by RN Fabric props, event payloads, commands, and TurboModules.