Lines Matching refs:MatchedArg
11 use crate::parser::{ArgMatches, MatchedArg, SubCommand, ValueSource};
59 vals_map: &mut FlatMap<Id, MatchedArg>,
67 // a default value of `other` myprog would have an existing MatchedArg for
96 pub(crate) fn get(&self, arg: &Id) -> Option<&MatchedArg> {
100 pub(crate) fn get_mut(&mut self, arg: &Id) -> Option<&mut MatchedArg> {
116 pub(crate) fn args(&self) -> crate::util::flat_map::Iter<'_, Id, MatchedArg> {
120 pub(crate) fn entry(&mut self, arg: Id) -> crate::util::Entry<Id, MatchedArg> {
142 let ma = self.entry(id).or_insert(MatchedArg::new_arg(arg));
153 let ma = self.entry(id).or_insert(MatchedArg::new_group());
162 let ma = self.entry(id).or_insert(MatchedArg::new_external(cmd));