org.jruby.compiler.impl
Class HeapBasedVariableCompiler
java.lang.Object
org.jruby.compiler.impl.AbstractVariableCompiler
org.jruby.compiler.impl.HeapBasedVariableCompiler
- All Implemented Interfaces:
- VariableCompiler
- Direct Known Subclasses:
- BoxedVariableCompiler
public class HeapBasedVariableCompiler
- extends AbstractVariableCompiler
- Author:
- headius
Methods inherited from class org.jruby.compiler.impl.AbstractVariableCompiler |
assignBackRef, 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 |
scopeIndex
protected int scopeIndex
varsIndex
protected int varsIndex
HeapBasedVariableCompiler
public HeapBasedVariableCompiler(StandardASMCompiler.AbstractMethodCompiler methodCompiler,
SkinnyMethodAdapter method,
int scopeIndex,
int varsIndex,
int argsIndex,
int closureIndex,
int firstTempIndex)
beginMethod
public void beginMethod(CompilerCallback argsCallback,
StaticScope scope)
beginClass
public void beginClass(CompilerCallback bodyPrep,
StaticScope scope)
beginClosure
public void beginClosure(CompilerCallback argsCallback,
StaticScope scope)
assignLocalVariable
public void assignLocalVariable(int index)
assignLocalVariable
public void assignLocalVariable(int index,
int depth)
retrieveLocalVariable
public void retrieveLocalVariable(int index)
retrieveLocalVariable
public void retrieveLocalVariable(int index,
int depth)
Copyright © 2002-2007 JRuby Team. All Rights Reserved.