org.jruby.ast.executable
Class YARVMachine

java.lang.Object
  extended byorg.jruby.ast.executable.YARVMachine

public class YARVMachine
extends java.lang.Object


Nested Class Summary
static class YARVMachine.Instruction
           
static class YARVMachine.InstructionSequence
           
 
Field Summary
static YARVMachine INSTANCE
           
 
Constructor Summary
YARVMachine()
           
 
Method Summary
 IRubyObject exec(ThreadContext context, IRubyObject self, DynamicScope scope, YARVMachine.Instruction[] bytecodes)
           
 IRubyObject exec(ThreadContext context, IRubyObject self, StaticScope scope, YARVMachine.Instruction[] bytecodes)
           
static int instruction(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final YARVMachine INSTANCE
Constructor Detail

YARVMachine

public YARVMachine()
Method Detail

instruction

public static int instruction(java.lang.String name)

exec

public IRubyObject exec(ThreadContext context,
                        IRubyObject self,
                        StaticScope scope,
                        YARVMachine.Instruction[] bytecodes)

exec

public IRubyObject exec(ThreadContext context,
                        IRubyObject self,
                        DynamicScope scope,
                        YARVMachine.Instruction[] bytecodes)


Copyright © 2002-2007 JRuby Team. All Rights Reserved.