class Typespace
Defined at line 24 of file ../../tools/fidl/fidlc/src/typespace.h
Typespace owns all types. It provides methods for building types which
store the object in the typespace and return a Type*.
Public Methods
void Typespace (const Library * root_library, Reporter * reporter)
Initializes the typespace with builtin types from the root library.
Type * Create (TypeResolver * resolver, const Reference & layout, const LayoutParameterList & parameters, const TypeConstraints & constraints, bool compile_decls, LayoutInvocation * out_params)
PrimitiveType * GetPrimitiveType (PrimitiveSubtype subtype)
InternalType * GetInternalType (InternalSubtype subtype)
Type * GetUnboundedStringType ()
Type * GetStringType (size_t max_size)
Type * GetUntypedNumericType ()
void Typespace (const Typespace & )
Defined at line 28 of file ../../tools/fidl/fidlc/src/typespace.h
void Typespace (Typespace && )
Defined at line 29 of file ../../tools/fidl/fidlc/src/typespace.h
Reporter * reporter ()
Defined at line 31 of file ../../tools/fidl/fidlc/src/typespace.h
const std::vector<std::unique_ptr<Type>> & types ()
Defined at line 32 of file ../../tools/fidl/fidlc/src/typespace.h