Module parser_utils
Source - ExtractFromPython
- Trait for types that can be extracted from Python with improved error messages.
- extract_binary_operands
- Generic function for extracting operands from binary operations.
- extract_list
- Generic function for extracting lists of items with error handling.
- extract_operator_type
- Generic function for extracting Python operator types with consistent error handling.
- extract_optional
- Generic function to safely extract optional attributes.
- extract_position_info
- Generic function to extract position information from AST nodes.
- extraction_error
- Helper function to create standardized error messages for failed extractions.
- log_extraction
- Utility function for consistent logging during Python object extraction.