17 "Can only assign from a java_qualifierst using the same namespace");
25 auto other = std::make_unique<java_qualifierst>(
ns);
27 return std::move(other);
51 type_checked_cast<annotated_typet>(src).get_annotations() =
annotations;
76 if(std::find(other_a.begin(), other_a.end(), annotation) == other_a.end())
84 std::stringstream out;
92 if(!annotation.get_values().empty())
104 out <<
'"' << value.get_name() <<
'"' <<
'=';
c_qualifierst & operator+=(const c_qualifierst &other)
virtual void write(typet &src) const
virtual void read(const typet &src)
bool is_subset_of(const c_qualifierst &other) const
virtual std::size_t count() const
virtual std::string as_string() const
c_qualifierst & operator=(const c_qualifierst &other)
bool operator==(const c_qualifierst &other) const
const irep_idt & get(const irep_idt &name) const
void read(const typet &src) override
java_qualifierst & operator+=(const java_qualifierst &other)
void write(typet &src) const override
std::string as_string() const override
bool is_subset_of(const java_qualifierst &other) const
std::unique_ptr< c_qualifierst > clone() const override
std::size_t count() const override
java_qualifierst & operator=(const java_qualifierst &other)
std::vector< java_annotationt > annotations
bool operator==(const java_qualifierst &other) const
const typet & base_type() const
The type of the data what we point to.
The type of an expression, extends irept.
std::string expr2java(const exprt &expr, const namespacet &ns)
Java-specific type qualifiers.
const reference_typet & to_reference_type(const typet &type)
Cast a typet to a reference_typet.