Skip to content

Commit 8fc7988

Browse files
Update add_axioms_for_format_specifier documentation
Reflects the new way the argument are passed to the format builtin function.
1 parent c24de41 commit 8fc7988

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/solvers/strings/string_constraint_generator_format.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ static std::vector<format_elementt> parse_format_string(std::string s)
240240
}
241241

242242
/// Parse `s` and add axioms ensuring the output corresponds to the output of
243-
/// String.format. Assumes the argument is a structured expression which
244-
/// contains the fields: string expr, int, float, char, boolean, hashcode,
245-
/// date_time. The correct component will be fetched depending on the format
246-
/// specifier.
243+
/// String.format. Assumes the argument is a string representing one of:
244+
/// string expr, int, float, char, boolean, hashcode, date_time.
245+
/// The correct type will be retrieved by calling get_arg with an id depending
246+
/// on the format specifier.
247247
/// \param fresh_symbol: generator of fresh symbols
248248
/// \param fs: a format specifier
249249
/// \param get_arg: a function returning the possible value of the argument to

0 commit comments

Comments
 (0)