← Reflection
In the worksrole: extensionlicense: BSD-3-Clause

tom_reflector_model

tom_reflector_model · v1.0.0

The object model and serialization for `tom_reflector`'s code-analysis results. It defines the data structures that represent an analyzed codebase's API and their JSON round-trip.

See License
Status
In the works
LOC
3.3k
Tests
0
Test LOC
0

Overview

`tom_reflector_model` defines the data model that `tom_reflector` populates: the classes, types, members, and metadata that represent an analyzed codebase's API. It handles full JSON serialization and deserialization of that model, so analysis results can be written out, stored, and read back without re-running the analyzer. This is the shape of the `analyzer_analysis.json` that downstream tools and the website consume. Keeping the model in its own package lets consumers depend on the structured result and its serialization without pulling in the analyzer engine itself.

What it enables

Enables Analysis result data model, JSON serialization, Shared API representation.

Relationships

Standalone — no declared relationships.

License
BSD 3-Clause License

Copyright (c) 2024-2026, Peter Nicolai Alexis Kyaw
Find me on LinkedIn under Alexis Kyaw
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
   contributors may be used to endorse or promote products derived from
   this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.