12 #ifndef CPROVER_CPP_CPP_DECLARATOR_H
13 #define CPROVER_CPP_CPP_DECLARATOR_H
45 return static_cast<const exprt &
>(
find(ID_value));
55 set(ID_is_parameter, is_parameter);
61 return static_cast<exprt &
>(
add(ID_init_args));
65 return static_cast<const exprt &
>(
find(ID_init_args));
74 return find(ID_member_initializers);
79 return add(ID_throw_decl);
83 return find(ID_throw_decl);
86 void output(std::ostream &out)
const;
irept & member_initializers()
const cpp_namet & name() const
void set_is_parameter(bool is_parameter)
void output(std::ostream &out) const
irept & method_qualifier()
const irept & throw_decl() const
typet merge_type(const typet &declaration_type) const
const exprt & init_args() const
const irept & member_initializers() const
const irept & method_qualifier() const
const exprt & value() const
bool get_is_parameter() const
cpp_declaratort(const typet &type)
Base class for all expressions.
source_locationt & add_source_location()
typet & type()
Return the type of the expression.
There are a large number of kinds of tree structured or tree-like data in CPROVER.
bool get_bool(const irep_idt &name) const
const irept & find(const irep_idt &name) const
void set(const irep_idt &name, const irep_idt &value)
irept & add(const irep_idt &name)
The type of an expression, extends irept.