CodeConstructKind

Logical category of a CodeConstruct.

Parallels the role of highway.ElementType for the architectural metamodel — used by diagram tooling to pick icons, group nodes, and apply per-kind styling.

hierarchyLevel is a position on the single, unified top-down hierarchy scale shared with highway.ElementType.hierarchyLevel: Vehicle 0, Item 1, System 2, Subsystem 3, Cluster 4, Component/Activity 5 — then continued below the analysed element into the code. The namespace/class/file "context" band sits at 6, Function at 7, Segment/SourceLine at 8, Instruction 9 (DIAGRAM_LEVEL_MAX). Lower number = outer/higher scope, and several kinds may share a level (File == Namespace == Class == 6, Segment == SourceLine == 8, just as Component == Activity == 5 on the highway side). This single number drives diagram colour saturation — lighter at the top, darker with depth.

The analysed element itself (Component/Activity, level 5) is a highway Element rendered as an ElementView, not a code construct — there is no ACTIVITY code kind.

SEGMENT is a projection node kind, not a containment parent. The analyzer's DataFlowSegment is a PhASAR pathsDagTo taint-path fragment (per-sink, overlapping — one instruction lies in many segments), so it is valid as a data-flow segment diagram node but not as a structural parent in the per-IR diagram.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Generated with STIG