Displaying 2 results from an estimated 2 matches for "strparse".
2012 Aug 01
2
[LLVMdev] [RFC] New command line parsing/generating framework for clang and lld.
...t to a previous option is considered an input Argument. A
// string that does begin with a prefix but is not a known option
is eligible
// for typo-correction.
}
def joined;
def separate;
def or;
def str;
class Option<list<string> prefixes, string name, Tool tool, dag
strparse, string render, dag rendermatch> {
// The tool this Option belongs to.
Tool Tool_ = tool;
// How to parse the Option from argc+argv.
dag StringParse = strparse;
// How to render the Option to a string. RenderMatch is used to capture
// values and assign them identifiers...
2012 Aug 09
0
[LLVMdev] [RFC] New command line parsing/generating framework for clang and lld.
...> // string that does begin with a prefix but is not a known option
> is eligible
> // for typo-correction.
> }
>
> def joined;
> def separate;
> def or;
> def str;
>
> class Option<list<string> prefixes, string name, Tool tool, dag
> strparse, string render, dag rendermatch> {
> // The tool this Option belongs to.
> Tool Tool_ = tool;
>
> // How to parse the Option from argc+argv.
> dag StringParse = strparse;
>
> // How to render the Option to a string. RenderMatch is used to capture
>...