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, unwrapParentScopes
public 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 VariableCompiler
isHeap
in class AbstractVariableCompiler
Copyright © 2001-2014 JRuby. All Rights Reserved.