Expand description
This package implements the semantic pass of the codegen process.
The semantic pass transforms the low-level raw reflection data into higher level types that are much easier to inspect and manipulate / friendler to work with.
Structsยง
- A collection of arbitrary attributes.
- A high-level representation of a flatbuffers object, which can be either a struct, a union or an enum.
- A high-level representation of a flatbuffers field, which can be either a struct member or a union value.
- The result of the semantic pass: an intermediate representation of all available object types; including structs, enums and unions.
Enumsยง
- The underlying element type for arrays/vectors/maps.
- Is this a struct, enum, or union?
- The kind of the object, as determined by its package root (e.g.
rerun.components
). - Must be set on all archetypes and components
- The underlying type of an
ObjectField
.
Constantsยง
Functionsยง
- is_int ๐
- try_
get_ ๐enum_ fqname - Ensure that each field of an archetype has exactly one of the
attr.rerun.component_{required|recommended|optional}
attributes.