Once both Delphi.Forms.Visitor (#41) and component reference detection
(#40) ship, migrate EnumComponentReferences in Delphi.Forms.References
to use the visitor for traversal.
Reference detection is a clean visitor fit: VisitProperty checks each
fvIdentifier value against the component name index and collects matches.
The component name index is built in a first pass (or in VisitObject).
Scope
Acceptance criteria
Once both
Delphi.Forms.Visitor(#41) and component reference detection(#40) ship, migrate
EnumComponentReferencesinDelphi.Forms.Referencesto use the visitor for traversal.
Reference detection is a clean visitor fit:
VisitPropertychecks eachfvIdentifiervalue against the component name index and collects matches.The component name index is built in a first pass (or in
VisitObject).Scope
TReferenceVisitorthat builds a component name indexin
VisitObjectand detects references inVisitPropertyEnumComponentReferenceswithWalkForm(Form, Visitor)Acceptance criteria
Delphi.Forms.References