Method: YARD::Parser::Ruby::AstNode#full_source
- Defined in:
- lib/yard/parser/ruby/ast_node.rb
permalink #full_source ⇒ String
Returns the full source that the node was parsed from.
82 83 84 85 86 |
# File 'lib/yard/parser/ruby/ast_node.rb', line 82 def full_source return parent.full_source if parent return @full_source if @full_source return IO.read(@file) if file && File.exist?(file) end |