FieldImportMode

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.

Entries

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

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