All state a codegen emission phase needs. Phases mutate ``writes`` and surface diagnostics through ``_diag_add``.
| 2767 | for a in iter_category_attrs(attrs, global_excl=global_excl, |
| 2768 | elem_excl=elem_excl, |
| 2769 | canon_absorbed=canon_absorbed): |
| 2770 | if a in xml_enum_attrs: |
| 2771 | kept.append(xml_enum_attrs[a]["ue_property"]) |
| 2772 | continue |
| 2773 | kept.append(renames.get(a, a)) |
| 2774 | return kept |
| 2775 | |
| 2776 | |
| 2777 | def emit_schema_for_tests(schema: Dict[str, Any], rules: Dict[str, Any]) -> FileWrite: |
| 2778 | """Generate a C++ header that exposes schema attribute lists per |
| 2779 | category to URLab automation tests. Every category emits a |
| 2780 | ``CatProps()`` accessor returning a static ``TArray<FString>`` of |
| 2781 | the codegen-owned UPROPERTY names.""" |
| 2782 | lines: List[str] = [ |
no outgoing calls
no test coverage detected