Class: YARD::Parser::Ruby::ParameterNode
Managing node state
collapse
Instance Method Details
#block_param ⇒ Object
383
|
# File 'lib/yard/parser/ruby/ast_node.rb', line 383
def block_param; self[4] ? self[4][0] : nil end
|
#optional_params ⇒ Object
381
|
# File 'lib/yard/parser/ruby/ast_node.rb', line 381
def optional_params; self[1] end
|
#required_end_params ⇒ Object
380
|
# File 'lib/yard/parser/ruby/ast_node.rb', line 380
def required_end_params; self[3] end
|
#required_params ⇒ Object
379
|
# File 'lib/yard/parser/ruby/ast_node.rb', line 379
def required_params; self[0] end
|
#splat_param ⇒ Object
382
|
# File 'lib/yard/parser/ruby/ast_node.rb', line 382
def splat_param; self[2] ? self[2][0] : nil end
|