Skip to main content

Interface: TypeOrigin

Store the origin of a data type where it first appeared in the version chain.

A data type is identified by the name of the module and the name of the struct/enum in combination.

Undefined behavior

Directly modifying any field is undefined behavior. The fields are only public for read-only access.

Properties

PropertyTypeDescription
datatype_namestringThe name of the data type. Here this either refers to an enum or a struct identifier.
module_namestringThe name of the module the data type resides in.
packagestringStorage ID of the package, where the given type first appeared.