Module code_generation

Module code_generation 

Source
Expand description

Code Generation for Workflows

This module provides code generation capabilities for converting workflow definitions into executable code in various programming languages including Rust, Python, and JSON. Supports different code styles, optimization levels, and deployment targets.

Structs§

CodeGenerationConfig
Code generation configuration
CodeGenerator
Code generator for workflows
CodeStyle
Code style preferences
CodeTemplate
Code template for code generation
GeneratedCode
Generated code result
GenerationStatistics
Code generation statistics
LanguageBackend
Language backend for code generation
LanguageTemplate
Language-specific templates
RegistryMetadata
Registry metadata
TemplateContext
Template context for variable substitution
TemplateEngine
Template engine for code generation
TemplateMetadata
Template metadata
TemplateRegistry
Template registry for managing templates

Enums§

CodeGenerationError
Code generation error types
CodeLanguage
Code generation target language
DeploymentTarget
Deployment targets
FileFormat
File format for saving/loading workflows
NamingConvention
Naming conventions
OptimizationLevel
Optimization levels
TemplateValue
Template value types

Type Aliases§

TargetLanguage
Type alias for target language (compatibility)