4 Commits
Author SHA1 Message Date
Jakub Piasecki 7b3277f358 Qualify conversion operator type names in the snapshot (#56220)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56220

Changelog: [Internal]

Conversion operators like `operator jsi::Array` contain a type reference in their name that was not being fully qualified.

This diff adds a `_qualify_conversion_operator_type` step to `FunctionMember.close()` that detects conversion operators and qualifies the type portion of the name using the same mechanism already used for return types and arguments.

Reviewed By: cipolleschi

Differential Revision: D98124781

fbshipit-source-id: 7baf2b6f31fcbf2fdab43457b5792558d774b043
2026-03-26 08:40:54 -07:00
Dawid Małecki d596a3d2f3 Deduplicate code in member classes (#56086)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56086

Changelog: [Internal]

Deduplicates specialization_args, qualified names and function pointer check in the member classes.

Reviewed By: cipolleschi

Differential Revision: D96455789

fbshipit-source-id: 835b73406d4469808b3d7fec7601394f7e42313b
2026-03-18 09:29:02 -07:00
Dawid Małecki 78a7718d6c Extract member specializations from name (#56076)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56076

Changelog: [Internal]

Updates the C++ API snapshot generator to extract specializations from name when a member is created, instead of relying on the one stored in the name string.

It also makes out-of-class definitions of members to be skipped in the snapshot as those were essentially duplicated between their declaration inside the class, and the initialization outside of it.

Reviewed By: cipolleschi

Differential Revision: D96303740

fbshipit-source-id: d649cb04bd7370af55ce707d607a372d7b4115b4
2026-03-18 09:29:02 -07:00
Dawid Małecki 756203cb27 Split member definitions into smaller files (#56072)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56072

Changelog: [Internal]

Splits `member.py` into multiple smaller files, each containing single member definition.

Reviewed By: cipolleschi

Differential Revision: D96282653

fbshipit-source-id: 25956dccaf266bf2be5b216ba554991f1bb221b8
2026-03-18 09:29:02 -07:00