About
XSH
Program interface definition
XSLT documentation
Source code
/
program
/
2.0
/
python
/ programinfo.html
Table of content
Parameters
prg.python.programinfo.classname
="''"
Templates
prg.python.tempVarName
(
itemNode
="
.
")
prg.python.valueArray
(
rootNode
)
prg.python.chunk.leafOptionInfoCtorParameters
(
optionNode
="
.
")
prg.python.chunk.argumentType
(
typeNode
)
prg.python.switchOptionInfo
(
optionNode
="
.
")
prg.python.argumentOptionInfo
(
optionNode
="
.
")
prg.python.multiArgumentOptionInfo
(
optionNode
="
.
")
prg.python.groupOptionInfo
(
optionNode
="
.
")
prg.python.validators
(
itemNode
,
itemVariable
)
prg.python.optionInfo
(
optionNode
="
.
",
parentVariable
="
.
")
prg.python.positionalArgumentInfo
(
positionalArgumentNode
="
.
",
parentVariable
)
prg.python.rootItemInfo
(
rootNode
="
.
",
rootVariable
="
'self'
")
prg.python.programinfo.output
(
rootNode
="
/
")
Details
Parameters
prg.python.programinfo.classname
="''"
If empty, use <appname>ProgramInfo
Default value:
''
Templates
prg.python.tempVarName
(
itemNode
="
.
")
Generate a unique variable name from item info
itemNode
Default value:
.
prg.python.valueArray
(
rootNode
)
Create an array of values
rootNode
prg.python.chunk.leafOptionInfoCtorParameters
(
optionNode
="
.
")
Constructor parameter list for switches, argument and multiargument options
optionNode
Default value:
.
prg.python.chunk.argumentType
(
typeNode
)
typeNode
prg.python.switchOptionInfo
(
optionNode
="
.
")
optionNode
Default value:
.
prg.python.argumentOptionInfo
(
optionNode
="
.
")
optionNode
Default value:
.
prg.python.multiArgumentOptionInfo
(
optionNode
="
.
")
optionNode
Default value:
.
prg.python.groupOptionInfo
(
optionNode
="
.
")
optionNode
Default value:
.
prg.python.validators
(
itemNode
,
itemVariable
)
itemNode
itemVariable
prg.python.optionInfo
(
optionNode
="
.
",
parentVariable
="
.
")
optionNode
Default value:
.
parentVariable
Default value:
.
prg.python.positionalArgumentInfo
(
positionalArgumentNode
="
.
",
parentVariable
)
positionalArgumentNode
Default value:
.
parentVariable
prg.python.rootItemInfo
(
rootNode
="
.
",
rootVariable
="
'self'
")
rootNode
Default value:
.
rootVariable
Default value:
'self'
prg.python.programinfo.output
(
rootNode
="
/
")
Generate the ProgramInfo derivated class based on program interface XML definition
rootNode
Default value:
/