Method: YARD::Parser::Ruby::AstNode#line_range

Defined in:
lib/yard/parser/ruby/ast_node.rb

#line_rangeRange

Returns the line range in #full_source represented by the node.

Returns:

  • (Range)

    the line range in #full_source represented by the node


69
70
71
72
# File 'lib/yard/parser/ruby/ast_node.rb', line 69

def line_range
  reset_line_info unless @line_range
  @line_range
end