class RubyDetective::AST::Nodes::ValueNode

Attributes

value[R]

Public Class Methods

new(value, *args) click to toggle source
# File lib/ruby_detective/ast/nodes/value_node.rb, line 7
def initialize(value, *args)
  super(value, *args)
  @value = value
end

Public Instance Methods

first_line() click to toggle source
# File lib/ruby_detective/ast/nodes/value_node.rb, line 16
def first_line
  parent_node.first_line
end
last_line() click to toggle source
# File lib/ruby_detective/ast/nodes/value_node.rb, line 20
def last_line
  parent_node.last_line
end
raw_children() click to toggle source
# File lib/ruby_detective/ast/nodes/value_node.rb, line 24
def raw_children
  []
end
type() click to toggle source
# File lib/ruby_detective/ast/nodes/value_node.rb, line 12
def type
  :value
end