String inserting a string into another one. More...
#include <string_insertion_builtin_function.h>
get_value which gives a valuation to expressions, attempt to find the result of the builtin function. result corresponds to input1 where we inserted input2 at position offset given by the first argument. equals, indexOf or compare. String inserting a string into another one.
Definition at line 15 of file string_insertion_builtin_function.h.
Constructor from arguments of a function application.
The arguments in fun_args should be in order: an integer result.length, a character pointer &result[0], a string arg1 of type refined_string_typet, a string arg2 of type refined_string_typet, and potentially some arguments of primitive types.
Definition at line 23 of file string_insertion_builtin_function.cpp.
Definition at line 84 of file string_insertion_builtin_function.h.
Constraints ensuring the result corresponds to input1 where we inserted input2 at position offset given by the first argument.
We write offset' for max(0, min(input1.length, offset)). These axioms are:
Implements string_builtin_functiont.
Definition at line 89 of file string_insertion_builtin_function.cpp.
Given a function get_value which gives a valuation to expressions, attempt to find the result of the builtin function.
If not enough information can be gathered from get_value, return an empty optional.
Implements string_builtin_functiont.
Definition at line 65 of file string_insertion_builtin_function.cpp.
Evaluate the result from a concrete valuation of the arguments.
Reimplemented in string_concatenation_builtin_functiont.
Definition at line 39 of file string_insertion_builtin_function.cpp.
result corresponds to that of input1 where we inserted input2. That is: result.length = input1.length + input2.length Implements string_builtin_functiont.
Definition at line 13 of file string_insertion_builtin_function.cpp.
Tells whether the builtin function can be a testing function, that is a function that does not return a string, for instance like equals, indexOf or compare.
Reimplemented from string_builtin_functiont.
Definition at line 78 of file string_insertion_builtin_function.h.
Implements string_builtin_functiont.
Definition at line 52 of file string_insertion_builtin_function.h.
Reimplemented from string_builtin_functiont.
Definition at line 38 of file string_insertion_builtin_function.h.
Reimplemented from string_builtin_functiont.
Definition at line 34 of file string_insertion_builtin_function.h.
Definition at line 21 of file string_insertion_builtin_function.h.
Definition at line 19 of file string_insertion_builtin_function.h.
Definition at line 20 of file string_insertion_builtin_function.h.
Definition at line 18 of file string_insertion_builtin_function.h.