public class IRModuleBody extends IRScope
argDesc, booleanVariableIndex, fixnumVariableIndex, floatVariableIndex, fullInterpreterContext, interpreterContext, LOG, temporaryVariableIndex, threadPollInstrsCount| Constructor and Description |
|---|
IRModuleBody(IRManager manager,
IRScope lexicalParent,
String name,
int lineNumber,
StaticScope scope) |
IRModuleBody(IRManager manager,
IRScope lexicalParent,
String name,
String fileName,
int lineNumber,
StaticScope staticScope) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNearestModuleReferencingScopeDepth()
Returns the nearest scope which we can extract a live module from.
|
IRScopeType |
getScopeType() |
CodeVersion |
getVersion() |
boolean |
isModuleBody()
Does this scope represent a module body?
|
void |
updateVersion() |
addChildScope, addClosure, allocateInterpreterContext, allocateNextPrefixedName, bindingHasEscaped, buildJVMExceptionTable, canReceiveNonlocalReturns, computeScopeFlags, computeScopeFlagsEarly, createTemporaryVariable, debugOutput, definesLocalVariable, depends, equals, findExistingLocalVariable, getArgumentDescriptors, getBeginBlocks, getBooleanVariablesCount, getCFG, getClosures, getCurrentModuleVariable, getCurrentScopeVariable, getEndBlocks, getExecutedPasses, getFileName, getFixnumVariablesCount, getFlags, getFloatVariablesCount, getFullInterpreterContext, getInterpreterContext, getLexicalParent, getLexicalScopes, getLineNumber, getLiveVariablesProblem, getLocalVariable, getLocalVariables, getLocalVariablesCount, getManager, getName, getNearestFlipVariableScope, getNearestMethod, getNearestTopLocalVariableScope, getNewFlipStateVariable, getNewInlineVariable, getNewLabel, getNewLabel, getNewLocalVariable, getNewTemporaryVariable, getNewTemporaryVariableFor, getNewUnboxedVariable, getNextClosureId, getPrefixCountSize, getScopeId, getSelf, getStaticScope, getStoreLocalVarPlacementProblem, getTemporaryVariablesCount, getThreadPollInstrsCount, getTopLevelScope, getUnboxableOpsAnalysisProblem, getUsedVariablesCount, getVarIndices, getYieldClosureVariable, hasBeenBuilt, hasExplicitCallProtocol, hashCode, hasLoops, inlineMethod, isBeginEndBlock, isFlipScope, isNestedInClosure, isNonSingletonClassBody, isScriptScope, isTopLocalVariableScope, isUnsafeScope, lookupExistingLVar, maybeUsingRefinements, parentMaybeUsingRefinements, prepareForInitialCompilation, prepareFullBuild, prepareFullBuildCommon, putLiveVariablesProblem, putStoreLocalVarPlacementProblem, putUnboxableOpsAnalysisProblem, receivesKeywordArgs, recordBeginBlock, removeClosure, resetState, resetTemporaryVariables, resetVariableCounter, setArgumentDescriptors, setExplicitCallProtocolFlag, setHasLoopsFlag, setInterpreterContext, setIsMaybeUsingRefinements, setLabelIndices, setLocalVariables, setName, setTemporaryVariableCount, setUpUseDefLocalVarMaps, toString, toStringInstrs, usesBackrefOrLastline, usesEval, usesLocalVariable, usesZSuperpublic IRModuleBody(IRManager manager, IRScope lexicalParent, String name, int lineNumber, StaticScope scope)
public IRModuleBody(IRManager manager, IRScope lexicalParent, String name, String fileName, int lineNumber, StaticScope staticScope)
public int getNearestModuleReferencingScopeDepth()
IRScopegetNearestModuleReferencingScopeDepth in class IRScopepublic void updateVersion()
public IRScopeType getScopeType()
getScopeType in class IRScopepublic CodeVersion getVersion()
public boolean isModuleBody()
IRScopeisModuleBody in class IRScopeCopyright © 2001-2015 JRuby. All Rights Reserved.