Class: YARD::Parser::Ruby::ReferenceNode
- Defined in:
- lib/yard/parser/ruby/ast_node.rb
Constant Summary
Constants inherited from AstNode
Instance Attribute Summary
Attributes inherited from AstNode
#docstring, #docstring_hash_flag, #docstring_range, #file, #full_source, #group, #line_range, #parent, #source, #source_range, #type
Managing node state collapse
Methods inherited from AstNode
#==, #block?, #call?, #children, #condition?, #def?, #first_line, #has_line?, #initialize, #inspect, #jump, #kw?, #line, #literal?, #loop?, node_class_for, #pretty_print, #show, #to_s, #token?, #traverse, #unfreeze
Methods inherited from Array
Constructor Details
This class inherits a constructor from YARD::Parser::Ruby::AstNode
Instance Method Details
#namespace ⇒ Object
367 368 369 |
# File 'lib/yard/parser/ruby/ast_node.rb', line 367 def namespace Array.new flatten[0...-1] end |
#path ⇒ Object
363 364 365 |
# File 'lib/yard/parser/ruby/ast_node.rb', line 363 def path Array.new flatten end |
#ref? ⇒ Boolean
361 |
# File 'lib/yard/parser/ruby/ast_node.rb', line 361 def ref?; true end |