Lines Matching refs:parser
893 /// - [`value_parser!(T)`][crate::value_parser!] for auto-selecting a value parser for a given type
943 pub fn value_parser(mut self, parser: impl IntoResettable<super::ValueParser>) -> Self {
944 self.value_parser = parser.into_resettable().into_option();
1611 /// # use clap::{Command, Arg, parser::ValueSource};
1628 /// # use clap::{Command, Arg, parser::ValueSource};
1705 /// # use clap::{Command, Arg, parser::ValueSource};
1743 /// # use clap::{Command, Arg, parser::ValueSource, value_parser};
1870 /// Note that the value parser controls how flags are parsed. In this case we've selected
3880 if type_id == crate::parser::AnyValueId::of::<std::path::PathBuf>() {
3964 /// Configured parser for argument values