Lines Matching refs:parser
16 generate a type-safe value parser that process a user-provided list of strings (`argv`). Currently,
54 auto parser = MakeParser();
55 auto result = parser.parse(argv, argc));
60 auto map = parser.GetArgumentsMap();
69 In the above code sample, we define a parser which is capable of parsing something like `--help
88 After an argument definition is provided, the parser builder needs to know what type the argument
95 If this call is omitted, the parser generator assumes you are building a `Unit` type (i.e. an
116 This is meant to be another shorthand (like `WithRange`) to avoid writing a custom type parser. In
153 To complete an argument definition, the parser generator also needs to know where to save values.
171 an option to ignore any argument tokens that are not known to the parser. This is done with the
244 successfully stored, the parser will automatically save it into the target destination as a side