About
XSH
Program interface definition
XSLT documentation
Source code
/
program
/
2.0
/
c
/ parser.results.html
Table of content
Variables
prg.c.parser.subcommandResultStructBaseName
="'subcommand_result'"
prg.c.parser.programResultDisplayErrorsFunctionSignature
="FILE *stream, *result, const char *line_prefix"
Templates
prg.c.parser.optionResultDeclaration
(
optionNode
="
.
")
prg.c.parser.optionResultsDeclaration
(
rootNode
="
.
")
prg.c.parser.subcommandResultStructName
(
subcommandNode
="
.
")
prg.c.parser.subcommandResultDefinition
(
subcommandNode
="
.
")
prg.c.parser.programResultDefinition
(
programNode
="
.
")
prg.c.parser.programResultFreeFunctionDeclaration
(
programNode
="
.
")
prg.c.parser.programResultFreeFunctionDefinition
(
programNode
="
.
")
prg.c.parser.programResultErrorCountFunctionDeclaration
(
programNode
="
.
")
prg.c.parser.programResultErrorCountFunctionDefinition
(
programNode
="
.
")
prg.c.parser.programResultGetMessageFunctionName
(
type
)
prg.c.parser.programResultGetMessageFunctionDeclaration
(
type
)
prg.c.parser.programResultGetMessageFunctionDefinition
(
type
)
prg.c.parser.programResultDisplayErrorsFunctionDeclaration
()
prg.c.parser.programResultDisplayErrorsFunctionDefinition
()
Details
Variables
prg.c.parser.subcommandResultStructBaseName
="'subcommand_result'"
Default value:
'subcommand_result'
prg.c.parser.programResultDisplayErrorsFunctionSignature
="FILE *stream, *result, const char *line_prefix"
Default value:
FILE *stream, *result, const char *line_prefix
Templates
prg.c.parser.optionResultDeclaration
(
optionNode
="
.
")
Declare an option result variable depending on the type of option
optionNode
Option node
Default value:
.
prg.c.parser.optionResultsDeclaration
(
rootNode
="
.
")
Declare all option result variables from a root item (subcommand or program)
rootNode
Default value:
.
prg.c.parser.subcommandResultStructName
(
subcommandNode
="
.
")
struct type name of a subcommand result struct
subcommandNode
Default value:
.
prg.c.parser.subcommandResultDefinition
(
subcommandNode
="
.
")
subcommandNode
Default value:
.
prg.c.parser.programResultDefinition
(
programNode
="
.
")
Define the main program result type
programNode
Program node
Default value:
.
prg.c.parser.programResultFreeFunctionDeclaration
(
programNode
="
.
")
Program result life cycle functions
programNode
Default value:
.
prg.c.parser.programResultFreeFunctionDefinition
(
programNode
="
.
")
programNode
Default value:
.
prg.c.parser.programResultErrorCountFunctionDeclaration
(
programNode
="
.
")
Result messages helper functions
programNode
Default value:
.
prg.c.parser.programResultErrorCountFunctionDefinition
(
programNode
="
.
")
programNode
Default value:
.
prg.c.parser.programResultGetMessageFunctionName
(
type
)
type
prg.c.parser.programResultGetMessageFunctionDeclaration
(
type
)
type
prg.c.parser.programResultGetMessageFunctionDefinition
(
type
)
type
prg.c.parser.programResultDisplayErrorsFunctionDeclaration
()
prg.c.parser.programResultDisplayErrorsFunctionDefinition
()