Class: Rigor::Cache::RbsConstantTable
- Inherits:
-
RbsCacheProducer
- Object
- RbsCacheProducer
- Rigor::Cache::RbsConstantTable
- Defined in:
- lib/rigor/cache/rbs_constant_table.rb
Overview
Cache producer that materialises every RBS-declared constant to its translated Rigor::Type form and
stores the result as a Hash<String, Rigor::Type> keyed by canonical constant name. This is the v0.0.8
first cached producer per ADR-6 § 7; it caches a post-translation artefact so the cache value is
Marshal-clean (RBS-native objects carry RBS::Location, which lacks _dump_data).
Cache descriptor shape is shared with every other cache producer that depends on the RBS environment — see Rigor::Cache::RbsDescriptor.build for the slot definitions.
Constant Summary collapse
- PRODUCER_ID =
"rbs.constant_type_table"