19 if(options.
is_set(
"java-assume-inputs-interval"))
21 const auto &interval_string =
22 options.
get_option(
"java-assume-inputs-interval");
27 "argument must be a comma-seperated sequence of intervals of the form"
28 " [int:int], [int:] or [:int]",
29 "--java-assume-inputs-interval");
34 "interval is empty, lower limit cannot be bigger than upper limit",
35 "--java-assume-inputs-interval");
48 if(cmdline.
isset(
"java-assume-inputs-interval"))
51 "java-assume-inputs-interval",
52 cmdline.
get_value(
"java-assume-inputs-interval"));
54 if(cmdline.
isset(
"java-assume-inputs-integral"))
56 options.
set_option(
"java-assume-inputs-integral",
true);
std::string get_value(char option) const
virtual bool isset(char option) const
static std::optional< interval_uniont > of_string(const std::string &to_parse)
Parse a string which is a comma , separated list of intervals of the form "[lower1:upper1]",...
Thrown when users pass incorrect command line arguments, for example passing no files to analysis or ...
bool is_set(const std::string &option) const
N.B. opts.is_set("foo") does not imply opts.get_bool_option("foo")
void set_option(const std::string &option, const bool value)
const std::string get_option(const std::string &option) const
void parse_java_object_factory_options(const cmdlinet &cmdline, optionst &options)
Parse the java object factory parameters from a given command line.
void parse_object_factory_options(const cmdlinet &cmdline, optionst &options)
Parse the object factory parameters from a given command line.
interval_uniont assume_inputs_interval
Force numerical primitive inputs to fall within the interval.
bool assume_inputs_integral
Force double and float inputs to be integral.
void set(const optionst &)
Assigns the parameters from given options.
void set(const optionst &)
Assigns the parameters from given options.