Module: LcpRuby::VirtualFields::SyntheticMarker

Defined in:
lib/lcp_ruby/virtual_fields/synthetic_marker.rb

Overview

Marker module included in every per-request synthetic AM::Model class built by VirtualForm. Enables a GC-lifecycle acceptance test to enumerate live synthetic classes via ‘ObjectSpace.each_object(Class).select { |c| c < SyntheticMarker }` without polluting the global class graph.

Spec: docs/design/page_filters_as_virtual_forms.md § 5 step 10 (acceptance test #10) + § 3 Invariants (anonymous classes must be GC’d per-request).