Skip to content

Commit a345d30

Browse files
Document eval_string
1 parent 58307a0 commit a345d30

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/solvers/refinement/string_builtin_function.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
#include "string_constraint_generator.h"
1010

11-
/// Get the valuation of the string, given a valuation
11+
/// Given a function `get_value` which gives a valuation to expressions, attempt
12+
/// to find the current value of the array `a`. If the valuation of some
13+
/// characters are missing, then return an empty optional.
1214
static optionalt<std::vector<mp_integer>> eval_string(
1315
const array_string_exprt &a,
1416
const std::function<exprt(const exprt &)> &get_value);

0 commit comments

Comments
 (0)