Home
last modified time | relevance | path

Searched refs:get_keymap (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/clap/src/builder/
Ddebug_asserts.rs516 .get_keymap() in _verify_positionals()
528 let num_p = cmd.get_keymap().keys().filter(|x| x.is_position()).count(); in _verify_positionals()
576 let last = &cmd.get_keymap()[&KeyType::Position(highest_idx)]; in _verify_positionals()
577 let second_to_last = &cmd.get_keymap()[&KeyType::Position(highest_idx - 1)]; in _verify_positionals()
656 for p in (1..=num_p).rev().filter_map(|n| cmd.get_keymap().get(&n)) { in _verify_positionals()
Dcommand.rs3763 pub(crate) fn get_keymap(&self) -> &MKeyMap { in get_keymap() method
3891 .get_keymap() in _build_self()
/third_party/rust/crates/clap/src/parser/
Dparser.rs73 .get_keymap() in get_matches_with()
381 if let Some(arg) = self.cmd.get_keymap().get(&pos_counter) { in get_matches_with()
759 let arg = if let Some(arg) = self.cmd.get_keymap().get(long_arg) { in parse_long_arg()
828 .get_keymap() in parse_long_arg()
865 .get_keymap() in parse_short_arg()
874 .get_keymap() in parse_short_arg()
916 if let Some(arg) = self.cmd.get_keymap().get(&c) { in parse_short_arg()
1533 .get_keymap() in did_you_mean_error()
1551 if let Some(arg) = self.cmd.get_keymap().get(&name.as_ref()) { in did_you_mean_error()
/third_party/rust/crates/clap/src/parser/features/
Dsuggestions.rs58 let longs = subcommand.get_keymap().keys().filter_map(|a| { in did_you_mean_flag()