●
You can call this function without indicating the specific element type, as follows:
stm_r_definition_type (id, status)
●
The enumerated type that reflects whether the textual element has a form. The nature of the definition field in the form is
stm_definition_type
, whose values are as follows:
●stm_reference
—The element has no form.
●stm_primitive
—The definition field is empty.
●stm_compound
—The definition field contains a compound expression.
●stm_constant
—The definition field contains a constant.
●stm_alias
—The definition field contains an identifier, a bit array, a component, or a slice (relevant fordi
only).
●stm_explicit
—Theinfo_flow
has a form.
●stm_predefined
—Predefined function.
●
Note that these types are not explicitly specified, but derived from the specification.
Although the return value of this function is of typeINTEGER
, the Documentor enables you to reference this value by name. The name is defined internally as a predefined constant in DGL. The following table lists the possible values for each Statemate element sub type: