Go to the documentation of this file.
16 return !(*
this == other);
37 if(
const auto numeral = this->cast<smt_numeral_indext>())
38 return visitor.
visit(*numeral);
39 if(
const auto symbol = this->cast<smt_symbol_indext>())
40 return visitor.
visit(*symbol);
47 set_size_t(ID_value, value);
59 set(ID_identifier, identifier);
64 return get(ID_identifier);
#define UNREACHABLE
This should be used to mark dead code.
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
std::size_t get_size_t(const irep_idt &name) const
bool operator!=(const smt_indext &) const
void accept(smt_index_const_downcast_visitort &) const
For implementation of indexed identifiers.
irep_idt identifier() const
virtual void visit(const smt_numeral_indext &)=0
smt_numeral_indext(std::size_t value)
smt_symbol_indext(irep_idt identifier)
const irep_idt & get(const irep_idt &name) const
std::size_t value() const
const irep_idt ID_smt_symbol_index
#define PRECONDITION(CONDITION)
bool operator==(const smt_indext &) const
const irep_idt ID_smt_numeral_index
const irep_idt & id() const
bool operator==(const irept &other) const