Home
last modified time | relevance | path

Searched refs:is_last_set (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/clap/src/builder/
Ddebug_asserts.rs243 if arg.is_last_set() { in assert_app()
274 arg.is_trailing_var_arg_set() || arg.is_last_set(), in assert_app()
541 !arg.is_trailing_var_arg_set() || !arg.is_last_set(), in _verify_positionals()
582 || (second_to_last.terminator.is_some() || second_to_last.is_last_set()) in _verify_positionals()
583 || last.is_last_set(); in _verify_positionals()
592 let ok = second_to_last.is_multiple() || last.is_last_set(); in _verify_positionals()
608 || (last.is_last_set() in _verify_positionals()
636 } else if p.is_required_set() && !p.is_last_set() { in _verify_positionals()
665 } else if p.is_required_set() && !p.is_last_set() { in _verify_positionals()
678 cmd.get_positionals().filter(|p| p.is_last_set()).count() < 2, in _verify_positionals()
[all …]
Darg_settings.rs126 assert!(m.is_last_set()); in setting_bitor()
138 assert!(m.is_last_set()); in unset_setting_bitor()
143 assert!(!m.is_last_set(), "{:#?}", m); in unset_setting_bitor()
Darg.rs4050 pub fn is_last_set(&self) -> bool { in is_last_set() method
/third_party/rust/crates/clap/src/output/
Dusage.rs279 if pos.is_last_set() { in get_args()
288 if pos.is_last_set() { in get_args()
298 if pos.is_last_set() && force_optional { in get_args()
416 if !arg.is_last_set() || incl_last { in get_required_usage_from()
/third_party/rust/crates/clap/src/parser/
Dparser.rs78 let contains_last = self.cmd.get_arguments().any(|x| x.is_last_set()); in get_matches_with()
325 .map_or(false, |p_name| !p_name.is_last_set()); in get_matches_with()
382 if arg.is_last_set() && !trailing_values { in get_matches_with()
831 arg.is_allow_hyphen_values_set() && !arg.is_last_set() in parse_long_arg()
877 arg.is_allow_hyphen_values_set() && !arg.is_last_set() in parse_short_arg()
Dvalidator.rs280 if !arg.is_last_set() { in validate_required()
342 if !a.is_last_set() { in validate_required()