public class IRBindingEvalScript extends IREvalScript
closureId, endLabel, startLabelbooleanVariableIndex, fixnumVariableIndex, floatVariableIndex, interpreterContext, temporaryVariableIndex| Constructor and Description |
|---|
IRBindingEvalScript(IRManager manager,
IRScope lexicalParent,
String fileName,
int lineNumber,
StaticScope staticScope,
EvalType evalType) |
| Modifier and Type | Method and Description |
|---|---|
protected LocalVariable |
findExistingLocalVariable(String name,
int scopeDepth) |
LocalVariable |
getLocalVariable(String name,
int scopeDepth)
Find or create a local variable.
|
LocalVariable |
getNewFlipStateVariable() |
LocalVariable |
getNewLocalVariable(String name,
int depth) |
int |
getUsedVariablesCount() |
LocalVariable |
lookupExistingLVar(String name) |
allocateInterpreterContext, getBeginBlocks, getBlockArgs, getNewLabel, getScopeType, isFlipScope, isModuleOrInstanceEval, isScriptScope, recordBeginBlockaddInstr, cloneForInlining, cloneForInlining, createTemporaryVariable, getArgumentType, getArity, getBlockBody, getHandle, getNestingDepth, getNewTemporaryVariable, getNextClosureId, getParameterList, getSignature, isBeginEndBlock, isTopLocalVariableScope, setBeginEndBlock, setHandle, setName, setParameterList, toStringBodyaddChildScope, addClosure, addInstrAtBeginning, allocateNextPrefixedName, bindingHasEscaped, buildCFG, buildJVMExceptionTable, buildLinearization, canReceiveNonlocalReturns, cfg, computeScopeFlags, definesLocalVariable, depends, equals, getBooleanVariablesCount, getCFG, getClosures, getCurrentModuleVariable, getCurrentScopeVariable, getDataFlowSolution, getEndBlocks, getExecutedPasses, getFileName, getFixnumVariablesCount, getFlags, getFloatVariablesCount, getInstrs, getInterpreterContext, getLexicalParent, getLexicalScopes, getLineNumber, getLocalVariables, getLocalVariablesCount, getManager, getName, getNearestFlipVariableScope, getNearestMethod, getNearestModuleReferencingScopeDepth, getNearestTopLocalVariableScope, getNewInlineVariable, getNewLabel, getNewTemporaryVariableFor, getNewUnboxedVariable, getPrefixCountSize, getScopeId, getSelf, getStaticScope, getTemporaryVariablesCount, getThreadPollInstrsCount, getTopLevelScope, getVarIndices, getYieldClosureVariable, hasExplicitCallProtocol, hashCode, hasLoops, initEvalScopeVariableAllocator, initFlipStateVariable, initNestedClosures, initScope, inlineMethod, isModuleBody, isNestedInClosure, isNonSingletonClassBody, linearization, prepareForCompilation, prepareForInterpretation, prepareInstructions, receivesKeywordArgs, removeClosure, resetLinearizationData, resetState, resetTemporaryVariables, resetVariableCounter, savePersistenceInfo, setCFG, setDataFlowSolution, setExplicitCallProtocolFlag, setHasLoopsFlag, setLabelIndices, setLocalVariables, setPrefixedNameIndexTo, setTemporaryVariableCount, setUpUseDefLocalVarMaps, toString, toStringInstrs, usesBackrefOrLastline, usesEval, usesLocalVariable, usesZSuperpublic IRBindingEvalScript(IRManager manager, IRScope lexicalParent, String fileName, int lineNumber, StaticScope staticScope, EvalType evalType)
public LocalVariable lookupExistingLVar(String name)
lookupExistingLVar in class IRScopeprotected LocalVariable findExistingLocalVariable(String name, int scopeDepth)
findExistingLocalVariable in class IRClosurepublic LocalVariable getLocalVariable(String name, int scopeDepth)
IRScopegetLocalVariable in class IRClosurepublic LocalVariable getNewLocalVariable(String name, int depth)
getNewLocalVariable in class IRClosurepublic LocalVariable getNewFlipStateVariable()
getNewFlipStateVariable in class IREvalScriptpublic int getUsedVariablesCount()
getUsedVariablesCount in class IRScopeCopyright © 2001-2015 JRuby. All Rights Reserved.