Expand description
Code generation from projected local types to Telltale session types.
This module generates Rust code from choreographies including:
- Session type definitions
- Role structs and implementations
- Extension support
- Namespace wrapping
- Topology integration
Structs§
- Inline
Topology - Parsed inline topology definition for code generation
Functions§
- generate_
choreography_ code - Generate complete Telltale code from a choreography
- generate_
choreography_ code_ with_ annotations - Generate complete Telltale code from a choreography with annotation support
- generate_
choreography_ code_ with_ dynamic_ roles - Generate enhanced choreography code with dynamic role support
- generate_
choreography_ code_ with_ extensions - Generate choreography code with extension support
- generate_
choreography_ code_ with_ namespacing - Generate complete code from a choreography, with namespace support and annotations
- generate_
choreography_ code_ with_ topology - Generate complete choreography code with topology integration
- generate_
dynamic_ role_ support - Generate dynamic role support structures for runtime role management
- generate_
helpers - Generate helper functions and types for the choreography
- generate_
role_ implementations - Generate implementation functions for each role
- generate_
session_ type - Generate Telltale session type definitions from a local type
- generate_
topology_ integration - Generate topology-aware protocol handlers