Reflection
The reflection layer gives Tom programs runtime introspection and dynamic invocation, plus analyzer-based extraction of a codebase's API. It is the base technology behind auto-assembling Tom applications at runtime.
Reflection is the base technology that lets Tom applications assemble themselves at runtime. It provides two complementary capabilities: runtime reflection over Dart objects, and static analysis of source code into a structured API description.
Runtime reflection is delivered by `tom_reflection`, a code-generation-based mirror system that exposes class members, types, and metadata and allows methods and properties to be invoked by name. The reflection data it relies on is produced by `tom_reflection_generator`, which runs as a build_runner builder or a standalone CLI.
A second line analyzes Dart sources directly: `tom_reflector` walks a codebase with the Dart analyzer and emits a structured API snapshot, and `tom_reflector_model` defines the object model and serialization for that result. The serialized `analyzer_analysis.json` is what the website renders to describe each module's API.
tom_reflection Published
tom_reflection_generator Published
tom_reflection_test Not started
tom_reflector In the works
tom_reflector_model In the works
License
# License See each folder/package for its specific license.