Go to the documentation of this file.
32 components.insert(components.begin(),
component);
48 const std::size_t clsid_nb =
60 const std::size_t count_nb =
const componentst & components() const
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
void java_root_class_init(struct_exprt &jlo, const struct_typet &root_type, const irep_idt &class_identifier)
Adds members for an object of the root class (usually java.lang.Object).
#define JAVA_CLASS_IDENTIFIER_FIELD_NAME
const struct_typet & to_struct_type(const typet &type)
Cast a typet to a struct_typet.
The type of an expression, extends irept.
typet type
Type of symbol.
std::vector< componentt > componentst
auto component(T &struct_expr, const irep_idt &name, const namespacet &ns) -> decltype(struct_expr.op0())
std::size_t component_number(const irep_idt &component_name) const
Return the sequence number of the component with given name.
Struct constructor from list of elements.
bool has_component(const irep_idt &component_name) const
Structure type, corresponds to C style structs.
void java_root_class(symbolt &class_symbol)
Create components to an object of the root class (usually java.lang.Object) Specifically,...
A constant literal expression.