org.jruby.compiler.impl
Class BoxedVariableCompiler

java.lang.Object
  extended by org.jruby.compiler.impl.AbstractVariableCompiler
      extended by org.jruby.compiler.impl.HeapBasedVariableCompiler
          extended by org.jruby.compiler.impl.BoxedVariableCompiler
All Implemented Interfaces:
VariableCompiler

public class BoxedVariableCompiler
extends HeapBasedVariableCompiler

Author:
headius

Field Summary
 
Fields inherited from class org.jruby.compiler.impl.AbstractVariableCompiler
argsIndex, arity, method, methodCompiler, scope, specificArity, tempVariableIndex
 
Constructor Summary
BoxedVariableCompiler(StandardASMCompiler.AbstractMethodCompiler methodCompiler, SkinnyMethodAdapter method, StaticScope scope, boolean specificArity, int argsIndex, int firstTempIndex)
           
 
Method Summary
 void assignLocalVariable(int index)
           
 void beginClass(CompilerCallback bodyPrep, StaticScope scope)
           
 void beginClosure(CompilerCallback argsCallback, StaticScope scope)
           
 void beginMethod(CompilerCallback argsCallback, StaticScope scope)
           
 void retrieveLocalVariable(int index)
           
 
Methods inherited from class org.jruby.compiler.impl.HeapBasedVariableCompiler
assignLocalVariable, assignLocalVariable, assignLocalVariable, retrieveLocalVariable
 
Methods inherited from class org.jruby.compiler.impl.AbstractVariableCompiler
assignBackRef, assignBackRef, assignLastLine, assignLastLine, assignMethodArguments, checkMethodArity, getMethodAdapter, getTempLocal, grabTempLocal, releaseTempLocal, retrieveBackRef, retrieveLastLine, setMethodAdapter, setTempLocal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoxedVariableCompiler

public BoxedVariableCompiler(StandardASMCompiler.AbstractMethodCompiler methodCompiler,
                             SkinnyMethodAdapter method,
                             StaticScope scope,
                             boolean specificArity,
                             int argsIndex,
                             int firstTempIndex)
Method Detail

beginMethod

public void beginMethod(CompilerCallback argsCallback,
                        StaticScope scope)
Specified by:
beginMethod in interface VariableCompiler
Overrides:
beginMethod in class HeapBasedVariableCompiler

beginClass

public void beginClass(CompilerCallback bodyPrep,
                       StaticScope scope)
Specified by:
beginClass in interface VariableCompiler
Overrides:
beginClass in class HeapBasedVariableCompiler

beginClosure

public void beginClosure(CompilerCallback argsCallback,
                         StaticScope scope)
Specified by:
beginClosure in interface VariableCompiler
Overrides:
beginClosure in class HeapBasedVariableCompiler

assignLocalVariable

public void assignLocalVariable(int index)
Specified by:
assignLocalVariable in interface VariableCompiler
Overrides:
assignLocalVariable in class HeapBasedVariableCompiler

retrieveLocalVariable

public void retrieveLocalVariable(int index)
Specified by:
retrieveLocalVariable in interface VariableCompiler
Overrides:
retrieveLocalVariable in class HeapBasedVariableCompiler


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