|
CBMC
|
Application of (mathematical) function. More...
#include <mathematical_expr.h>
Inheritance diagram for function_application_exprt:
Collaboration diagram for function_application_exprt:Public Types | |
| using | argumentst = exprt::operandst |
Public Types inherited from exprt | |
| typedef std::vector< exprt > | operandst |
Public Types inherited from irept | |
| using | baset = tree_implementationt |
Public Types inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > > | |
| using | dt = tree_nodet< irept, forward_list_as_mapt< irep_idt, irept >, true > |
| using | subt = typename dt::subt |
| using | named_subt = typename dt::named_subt |
| using | tree_implementationt = sharing_treet |
| Used to refer to this class from derived classes. | |
Additional Inherited Members | |
Static Public Member Functions inherited from binary_exprt | |
| static void | check (const exprt &expr, const validation_modet vm=validation_modet::INVARIANT) |
| static void | validate (const exprt &expr, const namespacet &, const validation_modet vm=validation_modet::INVARIANT) |
Static Public Member Functions inherited from exprt | |
| static void | check (const exprt &, const validation_modet) |
| Check that the expression is well-formed (shallow checks only, i.e., subexpressions and its type are not checked). | |
| static void | validate (const exprt &expr, const namespacet &, const validation_modet vm=validation_modet::INVARIANT) |
| Check that the expression is well-formed, assuming that its subexpressions and type have all ready been checked for well-formedness. | |
| static void | validate_full (const exprt &expr, const namespacet &ns, const validation_modet vm=validation_modet::INVARIANT) |
| Check that the expression is well-formed (full check, including checks of all subexpressions and the type) | |
Static Public Member Functions inherited from irept | |
| static bool | is_comment (const irep_idt &name) |
| static std::size_t | number_of_non_comments (const named_subt &) |
| count the number of named_sub elements that are not comments | |
Protected Member Functions inherited from expr_protectedt | |
| expr_protectedt (irep_idt _id, typet _type) | |
| expr_protectedt (irep_idt _id, typet _type, operandst _operands) | |
| exprt & | op0 () |
| const exprt & | op0 () const |
| exprt & | op1 () |
| const exprt & | op1 () const |
| exprt & | op2 () |
| const exprt & | op2 () const |
| exprt & | op3 () |
| const exprt & | op3 () const |
Protected Member Functions inherited from exprt | |
| exprt & | op0 () |
| exprt & | op1 () |
| exprt & | op2 () |
| exprt & | op3 () |
| const exprt & | op0 () const |
| const exprt & | op1 () const |
| const exprt & | op2 () const |
| const exprt & | op3 () const |
| exprt & | add_expr (const irep_idt &name) |
| const exprt & | find_expr (const irep_idt &name) const |
Protected Member Functions inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > > | |
| void | detach () |
Static Protected Member Functions inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > > | |
| 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. | |
Protected Attributes inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > > | |
| dt * | data |
Static Protected Attributes inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > > | |
| static dt | empty_d |
Application of (mathematical) function.
Definition at line 212 of file mathematical_expr.h.
Definition at line 215 of file mathematical_expr.h.
| function_application_exprt::function_application_exprt | ( | const exprt & | _function, |
| argumentst | _arguments | ||
| ) |
| _function | must be known to have mathematical_function_typet type. |
| _arguments | must match function_type().domain() |
Definition at line 14 of file mathematical_expr.cpp.
|
inline |
Definition at line 234 of file mathematical_expr.h.
|
inline |
Definition at line 239 of file mathematical_expr.h.
|
inline |
Definition at line 221 of file mathematical_expr.h.
Definition at line 226 of file mathematical_expr.h.
| const mathematical_function_typet & function_application_exprt::function_type | ( | ) | const |
This helper method provides the type of the expression returned by function.
Definition at line 28 of file mathematical_expr.cpp.