-
Notifications
You must be signed in to change notification settings - Fork 51
Check Framework Definitions
Rob Bocchino edited this page Jan 28, 2026
·
3 revisions
This algorithm traverses the source model and checks definitions for compatibility with the F Prime framework.
-
A list tul of translation units.
-
An analysis data structure a representing the results of analysis so far. Check Type Uses must have already been run.
-
If the check passes, an analysis data structure a with updated framework definitions; otherwise an error.
-
Visit each translation unit in tul with input a, yielding either a or an error.
Each method accepts an analysis data structure a as input and yields either a or an error as output.
For each definition d, check whether d represents a framework definition. If it does, then
-
Check that d respects the rules for that framework definition.
-
Add d to the framework definitions recorded in a.