cprover
function_application_exprt Class Reference

application of (mathematical) function More...

#include <std_expr.h>

Inheritance diagram for function_application_exprt:
[legend]
Collaboration diagram for function_application_exprt:
[legend]

Public Types

typedef exprt::operandst argumentst
 
- Public Types inherited from exprt
typedef std::vector< exprt > operandst
 
- Public Types inherited from irept
typedef std::vector< irept > subt
 
typedef std::map< irep_namet, irept > named_subt
 

Public Member Functions

 function_application_exprt ()
 
 function_application_exprt (const typet &_type)
 
 function_application_exprt (const symbol_exprt &_function, const typet &_type)
 
symbol_exprt & function ()
 
const symbol_exprt & function () const
 
argumentst & arguments ()
 
const argumentst & arguments () const
 
- Public Member Functions inherited from binary_exprt
 binary_exprt ()
 
 binary_exprt (const irep_idt &_id)
 
 binary_exprt (const irep_idt &_id, const typet &_type)
 
 binary_exprt (const exprt &_lhs, const irep_idt &_id, const exprt &_rhs)
 
 binary_exprt (const exprt &_lhs, const irep_idt &_id, const exprt &_rhs, const typet &_type)
 
- Public Member Functions inherited from exprt
 exprt ()
 
 exprt (const irep_idt &_id)
 
 exprt (const irep_idt &_id, const typet &_type)
 
typet & type ()
 
const typet & type () const
 
bool has_operands () const
 
operandst & operands ()
 
const operandst & operands () const
 
exprt & op0 ()
 
exprt & op1 ()
 
exprt & op2 ()
 
exprt & op3 ()
 
const exprt & op0 () const
 
const exprt & op1 () const
 
const exprt & op2 () const
 
const exprt & op3 () const
 
void reserve_operands (operandst::size_type n)
 
void move_to_operands (exprt &expr)
 
void move_to_operands (exprt &e1, exprt &e2)
 
void move_to_operands (exprt &e1, exprt &e2, exprt &e3)
 
void copy_to_operands (const exprt &expr)
 
void copy_to_operands (const exprt &e1, const exprt &e2)
 
void copy_to_operands (const exprt &e1, const exprt &e2, const exprt &e3)
 
void make_typecast (const typet &_type)
 
void make_not ()
 
void make_true ()
 
void make_false ()
 
void make_bool (bool value)
 
bool is_constant () const
 
bool is_true () const
 
bool is_false () const
 
bool is_zero () const
 
bool is_one () const
 
bool is_boolean () const
 
const source_locationt & find_source_location () const
 
const source_locationt & source_location () const
 
source_locationt & add_source_location ()
 
exprt & add_expr (const irep_idt &name)
 
const exprt & find_expr (const irep_idt &name) const
 
void visit (class expr_visitort &visitor)
 
void visit (class const_expr_visitort &visitor) const
 
depth_iteratort depth_begin ()
 
depth_iteratort depth_end ()
 
const_depth_iteratort depth_begin () const
 
const_depth_iteratort depth_end () const
 
const_depth_iteratort depth_cbegin () const
 
const_depth_iteratort depth_cend () const
 
depth_iteratort depth_begin (std::function< exprt &()> mutate_root) const
 
const_unique_depth_iteratort unique_depth_begin () const
 
const_unique_depth_iteratort unique_depth_end () const
 
const_unique_depth_iteratort unique_depth_cbegin () const
 
const_unique_depth_iteratort unique_depth_cend () const
 
- Public Member Functions inherited from irept
bool is_nil () const
 
bool is_not_nil () const
 
 irept (const irep_idt &_id)
 
 irept ()
 
 irept (const irept &irep)
 
 irept (irept &&irep)
 
irept & operator= (const irept &irep)
 
irept & operator= (irept &&irep)
 
 ~irept ()
 
const irep_idt & id () const
 
const std::string & id_string () const
 
void id (const irep_idt &_data)
 
const irept & find (const irep_namet &name) const
 
irept & add (const irep_namet &name)
 
irept & add (const irep_namet &name, const irept &irep)
 
const std::string & get_string (const irep_namet &name) const
 
const irep_idt & get (const irep_namet &name) const
 
bool get_bool (const irep_namet &name) const
 
signed int get_int (const irep_namet &name) const
 
unsigned int get_unsigned_int (const irep_namet &name) const
 
std::size_t get_size_t (const irep_namet &name) const
 
long long get_long_long (const irep_namet &name) const
 
void set (const irep_namet &name, const irep_idt &value)
 
void set (const irep_namet &name, const irept &irep)
 
void set (const irep_namet &name, const long long value)
 
void remove (const irep_namet &name)
 
void move_to_sub (irept &irep)
 
void move_to_named_sub (const irep_namet &name, irept &irep)
 
bool operator== (const irept &other) const
 
bool operator!= (const irept &other) const
 
void swap (irept &irep)
 
bool operator< (const irept &other) const
 defines ordering on the internal representation More...
 
bool ordering (const irept &other) const
 defines ordering on the internal representation More...
 
int compare (const irept &i) const
 defines ordering on the internal representation More...
 
void clear ()
 
void make_nil ()
 
subt & get_sub ()
 
const subt & get_sub () const
 
named_subt & get_named_sub ()
 
const named_subt & get_named_sub () const
 
named_subt & get_comments ()
 
const named_subt & get_comments () const
 
std::size_t hash () const
 
std::size_t full_hash () const
 
bool full_eq (const irept &other) const
 
std::string pretty (unsigned indent=0, unsigned max_indent=0) const
 
const dt & read () const
 
dt & write ()
 

Additional Inherited Members

- Protected Member Functions inherited from binary_exprt
exprt & op2 ()
 
const exprt & op2 () const
 
- Protected Member Functions inherited from irept
void detach ()
 
- Static Protected Member Functions inherited from irept
static bool is_comment (const irep_namet &name)
 
static void remove_ref (dt *old_data)
 
static void nonrecursive_destructor (dt *old_data)
 Does the same as remove_ref, but using an explicit stack instead of recursion. More...
 
- Protected Attributes inherited from irept
dt * data
 
- Static Protected Attributes inherited from irept
static dt empty_d
 

Detailed Description

application of (mathematical) function

Definition at line 4529 of file std_expr.h.

Member Typedef Documentation

◆ argumentst

Constructor & Destructor Documentation

◆ function_application_exprt() [1/3]

function_application_exprt::function_application_exprt ( )
inline

Definition at line 4532 of file std_expr.h.

References exprt::op0().

◆ function_application_exprt() [2/3]

function_application_exprt::function_application_exprt ( const typet &  _type)
inlineexplicit

Definition at line 4537 of file std_expr.h.

References exprt::op0().

◆ function_application_exprt() [3/3]

function_application_exprt::function_application_exprt ( const symbol_exprt &  _function,
const typet &  _type 
)
inline

Definition at line 4543 of file std_expr.h.

Member Function Documentation

◆ arguments() [1/2]

argumentst& function_application_exprt::arguments ( )
inline

Definition at line 4562 of file std_expr.h.

References exprt::op1(), and exprt::operands().

Referenced by string_constraint_generatort::add_axioms_for_char_at(), string_constraint_generatort::add_axioms_for_char_literal(), string_constraint_generatort::add_axioms_for_char_set(), string_constraint_generatort::add_axioms_for_code_point_at(), string_constraint_generatort::add_axioms_for_code_point_before(), string_constraint_generatort::add_axioms_for_code_point_count(), string_constraint_generatort::add_axioms_for_compare_to(), string_constraint_generatort::add_axioms_for_concat(), string_constraint_generatort::add_axioms_for_concat_char(), string_constraint_generatort::add_axioms_for_concat_code_point(), string_constraint_generatort::add_axioms_for_constrain_characters(), string_constraint_generatort::add_axioms_for_contains(), string_constraint_generatort::add_axioms_for_delete(), string_constraint_generatort::add_axioms_for_delete_char_at(), string_constraint_generatort::add_axioms_for_empty_string(), string_constraint_generatort::add_axioms_for_equals(), string_constraint_generatort::add_axioms_for_equals_ignore_case(), string_constraint_generatort::add_axioms_for_format(), string_constraint_generatort::add_axioms_for_hash_code(), string_constraint_generatort::add_axioms_for_index_of(), string_constraint_generatort::add_axioms_for_insert(), string_constraint_generatort::add_axioms_for_insert_char(), string_constraint_generatort::add_axioms_for_is_prefix(), string_constraint_generatort::add_axioms_for_last_index_of(), string_constraint_generatort::add_axioms_for_length(), string_constraint_generatort::add_axioms_for_offset_by_code_point(), string_constraint_generatort::add_axioms_for_parse_int(), string_constraint_generatort::add_axioms_for_replace(), string_constraint_generatort::add_axioms_for_set_length(), string_constraint_generatort::add_axioms_for_string_of_float(), string_constraint_generatort::add_axioms_for_substring(), string_constraint_generatort::add_axioms_for_to_lower_case(), string_constraint_generatort::add_axioms_for_to_upper_case(), string_constraint_generatort::add_axioms_for_trim(), string_constraint_generatort::add_axioms_from_char(), string_constraint_generatort::add_axioms_from_float_scientific_notation(), string_constraint_generatort::add_axioms_from_int(), string_constraint_generatort::add_axioms_from_int_hex(), string_constraint_generatort::add_axioms_from_literal(), add_dependency_to_string_subexprs(), string_constraint_generatort::associate_array_to_pointer(), string_constraint_generatort::associate_length_to_array(), expr2ct::convert_function_application(), goto_convertt::do_function_call_symbol(), smt2_parsert::function_application(), make_function_application(), string_builtin_function_with_no_evalt::string_builtin_function_with_no_evalt(), and to_string_builtin_function().

◆ arguments() [2/2]

const argumentst& function_application_exprt::arguments ( ) const
inline

Definition at line 4567 of file std_expr.h.

References exprt::op1(), and exprt::operands().

◆ function() [1/2]

◆ function() [2/2]

const symbol_exprt& function_application_exprt::function ( ) const
inline

Definition at line 4555 of file std_expr.h.

References exprt::op0().


The documentation for this class was generated from the following file: