class CodeTools::AST::SymbolLiteral
Attributes
value[RW]
Public Class Methods
new(line, sym)
click to toggle source
# File lib/rubinius/code/ast/literals.rb, line 203 def initialize(line, sym) @line = line @value = sym end
Public Instance Methods
bytecode(g)
click to toggle source
# File lib/rubinius/code/ast/literals.rb, line 208 def bytecode(g) pos(g) g.push_literal @value end
defined(g)
click to toggle source
# File lib/rubinius/code/ast/literals.rb, line 214 def defined(g) g.push_literal "expression" end
to_sexp()
click to toggle source
# File lib/rubinius/code/ast/literals.rb, line 218 def to_sexp [:lit, @value] end