maya.utils.converter.report¶
Conversion report data structures.
Provides structured reporting of conversion results including applied rules, helper expansions, and unsupported operations.
Classes¶
A single entry in the conversion report. |
|
Complete report of a code conversion operation. |
|
Classification of conversion entry types. |
Module Contents¶
- class ConversionEntry¶
A single entry in the conversion report.
- converted_code: str | None = None¶
- line_number: int¶
- message: str | None = None¶
- original_code: str¶
- rule_name: str | None = None¶
- class ConversionReport¶
Complete report of a code conversion operation.
- summary() str¶
Generate a human-readable summary of the conversion.
- converted_code: str¶
- entries: List[ConversionEntry] = []¶
- property failure_count: int¶
Count of failed or unsupported conversions.
- property helpers_expanded: List[ConversionEntry]¶
Return all entries where a blessed helper was expanded.
- property rules_applied: List[ConversionEntry]¶
Return all entries where a rule was successfully applied.
- source_code: str¶
- property success_count: int¶
Count of successfully converted expressions.
- property unsupported_operations: List[ConversionEntry]¶
Return all unsupported operations that were not converted.
- property warnings: List[ConversionEntry]¶
Return all warning entries.