Skip to content

Commit a44468b

Browse files
Document string_builtin_function::eval
1 parent ecc0e43 commit a44468b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/solvers/refinement/string_builtin_function.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ class string_builtin_functiont
3030
return {};
3131
}
3232

33+
/// Given a function `get_value` which gives a valuation to expressions,
34+
/// attempt to find the result of the builtin function.
35+
/// If not enough information can be gathered from `get_value`, return an
36+
/// empty optional.
3337
virtual optionalt<exprt>
3438
eval(const std::function<exprt(const exprt &)> &get_value) const = 0;
3539

0 commit comments

Comments
 (0)