Module traits
Source - BinaryOperation
- Common trait for binary operations (binary ops, bool ops, comparisons).
- ChainableOperation
- Trait for operations that can be chained (like comparison operations).
- DebugInfo
- Trait for AST nodes that can provide debugging information.
- ErrorContext
- Trait for generating consistent error messages across the codebase.
- FromPythonString
- Helper trait for converting Python string literals to enum variants.
- PositionInfo
- Trait for consistent handling of position information in AST nodes.
- PyAttributeExtractor
- Trait for extracting Python attributes with consistent error handling.
- PythonOperator
- Common trait for Python operators that can be converted to Rust tokens.