class CodeTools::AST::Begin
Attributes
rescue[RW]
Public Class Methods
new(line, body)
click to toggle source
# File lib/rubinius/code/ast/exceptions.rb, line 7 def initialize(line, body) @line = line @rescue = body || NilLiteral.new(line) end
Public Instance Methods
bytecode(g)
click to toggle source
# File lib/rubinius/code/ast/exceptions.rb, line 12 def bytecode(g) @rescue.bytecode(g) end
defined(g)
click to toggle source
# File lib/rubinius/code/ast/exceptions.rb, line 16 def defined(g) return @rescue.defined(g) if @rescue g.push_literal "nil" end
to_sexp()
click to toggle source
# File lib/rubinius/code/ast/exceptions.rb, line 21 def to_sexp @rescue.to_sexp end