Searched refs:ArgMatcher (Results 1 – 7 of 7) sorted by relevance
/third_party/rust/crates/clap/src/parser/ |
D | validator.rs | 6 use crate::parser::{ArgMatcher, ParseState}; 27 matcher: &mut ArgMatcher, in validate() argument 93 matcher: &ArgMatcher, in validate_conflicts() argument 113 fn validate_exclusive(&self, matcher: &ArgMatcher) -> ClapResult<()> { in validate_exclusive() 156 matcher: &ArgMatcher, in build_conflict_err() argument 193 matcher: &ArgMatcher, in build_conflict_err_usage() argument 220 fn gather_requires(&mut self, matcher: &ArgMatcher) { in gather_requires() argument 245 fn validate_required(&mut self, matcher: &ArgMatcher, conflicts: &Conflicts) -> ClapResult<()> { in validate_required() argument 388 fn fails_arg_required_unless(&self, a: &Arg, matcher: &ArgMatcher) -> bool { in fails_arg_required_unless() 399 matcher: &ArgMatcher, in missing_required_error() argument [all …]
|
D | arg_matcher.rs | 17 pub(crate) struct ArgMatcher { struct 22 impl ArgMatcher { argument 24 ArgMatcher { in new() 83 let mut am = ArgMatcher { in fill_in_global_values() 242 impl Deref for ArgMatcher { implementation
|
D | parser.rs | 19 use crate::parser::{ArgMatcher, SubCommand}; 53 matcher: &mut ArgMatcher, in get_matches_with() argument 441 let mut sc_m = ArgMatcher::new(self.cmd); in get_matches_with() 678 matcher: &mut ArgMatcher, in parse_subcommand() argument 688 let mut sc_matcher = ArgMatcher::new(sc); in parse_subcommand() 725 matcher: &mut ArgMatcher, in parse_long_arg() argument 848 matcher: &mut ArgMatcher, in parse_short_arg() argument 997 matcher: &mut ArgMatcher, in parse_opt_value() argument 1076 matcher: &mut ArgMatcher, in push_arg_values() argument 1097 fn resolve_pending(&self, matcher: &mut ArgMatcher) -> ClapResult<()> { in resolve_pending() [all …]
|
D | mod.rs | 12 pub(crate) use self::arg_matcher::ArgMatcher;
|
/third_party/rust/crates/clap/src/output/ |
D | usage.rs | 9 use crate::parser::ArgMatcher; 319 matcher: Option<&ArgMatcher>, in get_required_usage_from() argument
|
/third_party/rust/crates/clap/src/builder/ |
D | command.rs | 25 use crate::parser::{ArgMatcher, ArgMatches, Parser}; 3792 let mut matcher = ArgMatcher::new(self); in _do_parse()
|
/third_party/rust/crates/clap/ |
D | CHANGELOG.md | 3072 * **ArgMatcher:** huge refactor and deduplication of code ([8988853f](https://github.com/clap-rs/c…
|