jcli ~master (2022-03-09T18:57:21Z)
Dub
Repo
ParseResult
jcli
commandparser
parser
The errors are always recorded (or ignored) via a handler object.
struct
ParseResult (
CommandType
) {
size_t
errorCount
;
CommandType
value
;
bool
isOk
();
bool
isError
();
}
Members
Functions
isError
bool
isError
()
Undocumented in source. Be warned that the author may not have intended to support it.
isOk
bool
isOk
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
errorCount
size_t
errorCount
;
Undocumented in source.
value
CommandType
value
;
Undocumented in source.
Meta
Source
See Implementation
jcli
commandparser
parser
enums
CommandParsingErrorCode
ConsumeSingleArgumentResultKind
functions
consumeSingleArgumentIntoCommand
createErrorCodeHandler
createIgnoreSetErrorHandler
createInMemoryErrorHandler
maybeReportParseErrorsFromFinalContext
resetNamedArgumentArrayStorage
mixin templates
ParseBoilerplate
structs
CommandParsingContext
DefaultParseErrorHandler
ErrorCodeHandler
IgnoreSetErrorHandler
InMemoryErrorHandler
ParseResult
templates
parseCommand
The errors are always recorded (or ignored) via a handler object.