Go to the documentation of this file.
19 "Can only assign from a java_qualifierst using the same namespace");
27 auto other = util_make_unique<java_qualifierst>(
ns);
29 return std::move(other);
53 type_checked_cast<annotated_typet>(src).get_annotations() =
annotations;
63 jq->annotations.begin(),
64 jq->annotations.end(),
85 auto &other_a = jq->annotations;
88 if(std::find(other_a.begin(), other_a.end(), annotation) == other_a.end())
96 std::stringstream out;
104 if(!annotation.get_values().empty())
116 out <<
'"' << value.get_name() <<
'"' <<
'=';
virtual void read(const typet &src) override
virtual void read(const typet &src) override
virtual qualifierst & operator+=(const qualifierst &other) override
The type of an expression, extends irept.
virtual void write(typet &src) const override
virtual bool is_subset_of(const qualifierst &other) const override
std::vector< java_annotationt > annotations
virtual bool is_subset_of(const qualifierst &other) const override
virtual void clear() override
virtual std::string as_string() const override
virtual bool operator==(const qualifierst &other) const override
const irep_idt & get(const irep_idt &name) const
virtual bool operator==(const qualifierst &other) const override
virtual void write(typet &src) const override
virtual std::size_t count() const override
const reference_typet & to_reference_type(const typet &type)
Cast a typet to a reference_typet.
virtual std::size_t count() const override
virtual void clear() override
c_qualifierst & operator=(const c_qualifierst &other)
virtual std::unique_ptr< qualifierst > clone() const override
java_qualifierst & operator=(const java_qualifierst &other)
virtual qualifierst & operator+=(const qualifierst &other) override
const typet & base_type() const
The type of the data what we point to.
std::string expr2java(const exprt &expr, const namespacet &ns)
virtual std::string as_string() const override