/ program / 2.0 / sh / parser.base.html

Table of content

Parameters

Variables

Templates


Details

Parameters

Add comments in generated parsre codes

Default value: 'no'

Variables

Prefix of all parser functions

Default value: parse_
Prefix of all parser variable

Default value: parser_

Templates

prg.sh.parser.boundVariableName(variableNode, node="$variableNode/../..", usePrefix="($prg.sh.parser.prefixSubcommandOptionVariable = 'yes')")
  1. variableNode
    Variable name node
  2. node
    Option/Positional argument node
    Default value: $variableNode/../..
  3. usePrefix
    Default value: ($prg.sh.parser.prefixSubcommandOptionVariable = 'yes')
prg.sh.parser.optionVariableName(optionNode=".", usePrefix="($prg.sh.parser.prefixSubcommandOptionVariable = 'yes')")
  1. optionNode
    Default value: .
  2. usePrefix
    Default value: ($prg.sh.parser.prefixSubcommandOptionVariable = 'yes')

Option marker (variable name witout prefix or ~optionId)
  1. optionNode
    Default value: .
  1. content
    Default value: ''
  2. endl
    Default value: false()