예제 #1
0
static bool has_show(options const & opts, name const & kind, unsigned & line, unsigned & col) {
    if (opts.get_bool(kind)) {
        line = opts.get_unsigned("line", 0);
        col  = opts.get_unsigned("column", 0);
        return true;
    } else {
        return false;
    }
}
예제 #2
0
파일: find_cmd.cpp 프로젝트: cpehle/lean
unsigned get_find_max_steps(options const & opts) {
    return opts.get_unsigned(*g_find_max_steps, LEAN_DEFAULT_FIND_MAX_STEPS);
}
예제 #3
0
파일: pp_options.cpp 프로젝트: cmknapp/lean
unsigned get_pp_goal_max_hyps(options const & opts)   { return opts.get_unsigned(*g_pp_goal_max_hyps, LEAN_DEFAULT_PP_GOAL_MAX_HYPS); }
예제 #4
0
파일: pp_options.cpp 프로젝트: cmknapp/lean
unsigned get_pp_max_steps(options const & opts)       { return opts.get_unsigned(*g_pp_max_steps, LEAN_DEFAULT_PP_MAX_STEPS); }
예제 #5
0
파일: pp_options.cpp 프로젝트: cmknapp/lean
unsigned get_pp_max_depth(options const & opts)       { return opts.get_unsigned(*g_pp_max_depth, LEAN_DEFAULT_PP_MAX_DEPTH); }
예제 #6
0
unsigned get_class_instance_max_depth(options const & o) {
    return o.get_unsigned(*g_class_instance_max_depth, LEAN_DEFAULT_CLASS_INSTANCE_MAX_DEPTH);
}
예제 #7
0
파일: options.cpp 프로젝트: pazthor/lean
unsigned get_blast_inc_depth(options const & o) {
    return o.get_unsigned(*g_blast_inc_depth, LEAN_DEFAULT_BLAST_INC_DEPTH);
}
예제 #8
0
파일: options.cpp 프로젝트: pazthor/lean
unsigned get_blast_max_depth(options const & o) {
    return o.get_unsigned(*g_blast_max_depth, LEAN_DEFAULT_BLAST_MAX_DEPTH);
}
예제 #9
0
파일: options.cpp 프로젝트: cpehle/lean
unsigned get_max_memory(options const & opts) {
    return opts.get_unsigned(*g_max_memory, LEAN_DEFAULT_MAX_MEMORY);
}