public class HeapBasedVariableCompiler extends AbstractVariableCompiler
argsIndex, arity, method, methodCompiler, scope, specificArity, tempVariableIndex| Constructor and Description |
|---|
HeapBasedVariableCompiler(BaseBodyCompiler methodCompiler,
SkinnyMethodAdapter method,
StaticScope scope,
boolean specificArity,
int argsIndex,
int firstTempIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
assignLocalVariable(int index,
boolean expr) |
void |
assignLocalVariable(int index,
CompilerCallback value,
boolean expr) |
void |
assignLocalVariable(int index,
int depth,
boolean expr) |
void |
assignLocalVariable(int index,
int depth,
CompilerCallback value,
boolean expr) |
void |
beginClass(StaticScope scope) |
void |
beginClosure(CompilerCallback argsCallback,
StaticScope scope) |
void |
beginFlatClosure(CompilerCallback argsCallback,
StaticScope scope) |
void |
beginMethod(CompilerCallback argsCallback,
StaticScope scope) |
void |
declareLocals(StaticScope scope,
org.objectweb.asm.Label start,
org.objectweb.asm.Label end) |
boolean |
isHeap() |
void |
retrieveLocalVariable(int index) |
void |
retrieveLocalVariable(int index,
int depth) |
assignBackRef, assignBackRef, assignClosureArguments, assignHeapLocal, assignHeapLocal, assignLastLine, assignLastLine, assignMethodArguments, assignMethodArguments19, checkMethodArity, getMethodAdapter, getTempLocal, grabTempLocal, releaseTempLocal, retrieveBackRef, retrieveHeapLocal, retrieveLastLine, setMethodAdapter, setTempLocal, unwrapParentScopespublic HeapBasedVariableCompiler(BaseBodyCompiler methodCompiler, SkinnyMethodAdapter method, StaticScope scope, boolean specificArity, int argsIndex, int firstTempIndex)
public void beginMethod(CompilerCallback argsCallback, StaticScope scope)
public void declareLocals(StaticScope scope, org.objectweb.asm.Label start, org.objectweb.asm.Label end)
public void beginClass(StaticScope scope)
public void beginClosure(CompilerCallback argsCallback, StaticScope scope)
public void beginFlatClosure(CompilerCallback argsCallback, StaticScope scope)
public void assignLocalVariable(int index,
boolean expr)
public void assignLocalVariable(int index,
CompilerCallback value,
boolean expr)
public void assignLocalVariable(int index,
int depth,
boolean expr)
public void assignLocalVariable(int index,
int depth,
CompilerCallback value,
boolean expr)
public void retrieveLocalVariable(int index)
public void retrieveLocalVariable(int index,
int depth)
public boolean isHeap()
isHeap in interface VariableCompilerisHeap in class AbstractVariableCompilerCopyright © 2001-2013 JRuby. All Rights Reserved.