About
XSH
Program interface definition
XSLT documentation
Source code
/
program
/
2.0
/
sh
/ parser.functions.html
Table of content
Templates
prg.sh.parser.addMessageFunctionHelper
(
name
,
table
="
$name
",
onEnd
,
interpreter
)
prg.sh.parser.displayErrorFunction
(
interpreter
)
prg.sh.parser.messageFunctions
(
interpreter
)
prg.sh.parser.pathAccessCheckFunction
(
interpreter
)
prg.sh.parser.optionSetPresenceFunctions
(
interpreter
,
programNode
)
prg.sh.parser.setDefaultOptionsFunction
(
programNode
,
interpreter
)
prg.sh.parser.minmaxCheckFunction
(
programNode
,
interpreter
)
prg.sh.parser.numberLesserEqualCheckFunction
(
interpreter
)
prg.sh.parser.enumCheckFunction
(
interpreter
)
prg.sh.parser.addValueFunction
(
programNode
,
interpreter
)
prg.sh.parser.subCommandOptionParseFunction
(
programNode
="
.
",
interpreter
)
prg.sh.parser.optionParseFunction
(
programNode
="
.
",
interpreter
)
prg.sh.parser.parseFunction
(
programNode
="
.
",
interpreter
)
prg.sh.parser.main
(
programNode
="
.
",
interpreter
)
Details
Templates
prg.sh.parser.addMessageFunctionHelper
(
name
,
table
="
$name
",
onEnd
,
interpreter
)
Message functions
name
table
Default value:
$name
onEnd
interpreter
prg.sh.parser.displayErrorFunction
(
interpreter
)
interpreter
prg.sh.parser.messageFunctions
(
interpreter
)
interpreter
prg.sh.parser.pathAccessCheckFunction
(
interpreter
)
File system item functions
interpreter
prg.sh.parser.optionSetPresenceFunctions
(
interpreter
,
programNode
)
Function reelative to option presence requirements
interpreter
programNode
prg.sh.parser.setDefaultOptionsFunction
(
programNode
,
interpreter
)
programNode
interpreter
prg.sh.parser.minmaxCheckFunction
(
programNode
,
interpreter
)
programNode
interpreter
prg.sh.parser.numberLesserEqualCheckFunction
(
interpreter
)
interpreter
prg.sh.parser.enumCheckFunction
(
interpreter
)
interpreter
prg.sh.parser.addValueFunction
(
programNode
,
interpreter
)
Check and add anonymous value
programNode
interpreter
prg.sh.parser.subCommandOptionParseFunction
(
programNode
="
.
",
interpreter
)
Main function for subcommand
programNode
Default value:
.
interpreter
prg.sh.parser.optionParseFunction
(
programNode
="
.
",
interpreter
)
Main option parser function
programNode
Default value:
.
interpreter
prg.sh.parser.parseFunction
(
programNode
="
.
",
interpreter
)
programNode
Default value:
.
interpreter
prg.sh.parser.main
(
programNode
="
.
",
interpreter
)
Main
programNode
Default value:
.
interpreter