Apply the resolver to a parsed figma-plugin IR tree IN PLACE: for every node that carries a Figma component identity (attributes figmaComponentKey / figmaMainComponentName, stamped by parse_ir_node) but is NOT already a recognized audio widget, resolve it against the merged table and stamp audio_widget (built-in kinds) on a match. More...
#include <recognition_resolver.hpp>
Public Attributes | |
| std::string | component_key |
| std::string | name |
Apply the resolver to a parsed figma-plugin IR tree IN PLACE: for every node that carries a Figma component identity (attributes figmaComponentKey / figmaMainComponentName, stamped by parse_ir_node) but is NOT already a recognized audio widget, resolve it against the merged table and stamp audio_widget (built-in kinds) on a match.
Custom-factory matches are recorded for the materializer via the node's attributes.
Never overrides an existing audio_widget (the built-in TS lane already recognized it) — strictly additive. A component instance present but matched by NO source is collected into unmatched_out (deduplicated by key) so the caller can surface it in the import report — never silently guessed.
Returns the number of nodes newly wired by the resolver.
| std::string pulp::view::UnmatchedComponent::component_key |
| std::string pulp::view::UnmatchedComponent::name |