class CodeTools::AST::SClass
Attributes
receiver[RW]
Public Class Methods
new(line, receiver, body)
click to toggle source
# File lib/rubinius/code/ast/definitions.rb, line 1088 def initialize(line, receiver, body) @line = line @receiver = receiver @body = SClassScope.new line, body end
Public Instance Methods
bytecode(g)
click to toggle source
# File lib/rubinius/code/ast/definitions.rb, line 1094 def bytecode(g) pos(g) @receiver.bytecode(g) @body.bytecode(g) end
to_sexp()
click to toggle source
# File lib/rubinius/code/ast/definitions.rb, line 1100 def to_sexp [:sclass, @receiver.to_sexp, @body.to_sexp] end