Class: ShellOpts::Grammar::ArgDescr
- Defined in:
- lib/shellopts/dump.rb,
lib/shellopts/grammar.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Node
Instance Attribute Summary
Attributes inherited from DocNode
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from DocNode
#initialize, #lines, #puts_descr, #text, #to_s
Methods inherited from Node
#analyzer_error, #ancestors, #dump_ast, #dump_attrs, #initialize, #inspect, #parents, parse, #parse, #parser_error, #puts_help, #puts_usage, #remove_arg_descr_nodes, #remove_arg_spec_nodes, #remove_brief_nodes, #traverse
Constructor Details
This class inherits a constructor from ShellOpts::Grammar::DocNode
Instance Method Details
#dump_idr(short = false) ⇒ Object
118 119 120 121 |
# File 'lib/shellopts/dump.rb', line 118 def dump_idr(short = false) super indent { puts token.to_s } end |