Package-level declarations
Types
Converts C (or, opt-in, simple C++) header function prototypes into Context, for components whose only interface evidence is a .h/.hpp API (no SYML): typically MCAL wrappers, shared libraries and low-level services. A prototype alone does not establish whether its implementation belongs to this component or another component, so this reader retains neutral Method definitions. Each public header file becomes one ServicePort (a purely structural grouping, matching e.g. PecuswContext.kt's own use of it), declared directly on the Component; each function prototype becomes one Method inside it, with the full raw signature retained in Method.functionType. Both are already InterfacePoints (ServiceInterfaceMember : InterfacePoint), so a Method is directly referenceable from an InterfacePointAnalysis without any wrapping. Explicit private/internal header names and test directories are excluded. Parsing itself is delegated to CHeaderSyntax (vendored ANTLR grammars).
Per-field policy for description/asil on Context entities, independent of the owning viewpoint's ModelImportMode. PRESERVE_IF_SOURCE_EMPTY keeps an existing canonical declaration's value when the freshly imported one (SYML, C header, or native Highway) has none for that entity, at any depth (the element itself and every nested Context declaration: ports, service interfaces, methods, fields, parameters); it never overwrites an existing value with an empty one, and never invents a value neither side has.
JSON encoding of canonical Highway constructors, declarations and identity references.
Selects canonical elements to render as Markdown pages, one file per element/viewpoint.
Generates human-readable Markdown from a metamodel tree.
Renders selected canonical elements as nested MkDocs admonitions using Dokka's model presentation rules.
Reads YAML nodes without constructing MkDocs' Python objects or evaluating custom tags.
Publication paths exported with the model for the destination MkDocs site's publisher.
Selects canonical roots; the shared native codec owns serialization and reference handling.
Explicit, ordered import. HIGH findings do not prevent importing the resolvable specifications.
Import routing and selection; engineering properties belong to canonical Highway classes.
Renders canonical constructor properties and declared children; there are no per-viewpoint DTOs.
Entry point for the analysis (typically Activity::Step()).
A single interface point (source or sink) with its LLVM symbol.
Resolved interface-point list for a single STIG element.
Converts declaration structure and retains exact source evidence for attributes outside Highway.