class CodeTools::AST::ToString
Attributes
value[RW]
Public Class Methods
new(line, value)
click to toggle source
# File lib/rubinius/code/ast/values.rb, line 285 def initialize(line, value) @line = line @value = value end
Public Instance Methods
bytecode(g)
click to toggle source
# File lib/rubinius/code/ast/values.rb, line 290 def bytecode(g) pos(g) @value.bytecode(g) g.object_to_s :to_s end
to_sexp()
click to toggle source
# File lib/rubinius/code/ast/values.rb, line 303 def to_sexp sexp = [:evstr] sexp << @value.to_sexp if @value sexp end
value_defined(g, f)
click to toggle source
# File lib/rubinius/code/ast/values.rb, line 297 def value_defined(g, f) if @value @value.value_defined(g, f) end end