ark::serialization::RbufParseResult
Defined in header “ark/serialization/rbuf_parser.hh”.
The result of parsing an rbuf file. This contains the resulting registry (all of the schemas & enumerations), along with a list of the types compiled out of the input directly (ie, not imported).
The ordering of the types will be the same as the ordering within the rbuf itself.
Methods
-
std::vector< RbufConstantValue > constant_values()
Returns all top-level constants in declaration order. -
std::vector< RbufIncludedFile > included_paths()
Returns all top-level includes in declaration order. -
std::vector< RpcService > services()
Returns all top-level services in declaration order. -
std::vector< std::string > target_types()
Returns all top-level schema/enum target types in declaration order. -
std::vector< RbufTargetType > target_declarations()
Returns full top-level schema/enum declarations (including comments) in declaration order.
Variables
-
std::vector< RbufOrderedType > ordered_types
The list of top-level declarations in the input itself, ordered in the order that they were declared. -
SchemaRegistry registry
The registry containing all of the compiled and imported schema information. -
std::vector< RbufIncludedFile > transitive_includes
The full list of all includes, including transitive includes. -
std::vector< RbufConstantValue > included_constant_values
A list of included constant values, useful for resolving in expressions. -
std::map< std::string, RbufTargetType > all_target_declarations
A flat map of all parsed target declarations from this file and all includes (including transitive includes), keyed by fully-qualified type.