public class IRModuleBody extends IRScope
booleanVariableIndex, compilable, fixnumVariableIndex, floatVariableIndex, fullInterpreterContext, interpreterContext, LOG, optimizedInterpreterContext, temporaryVariableIndex, threadPollInstrsCount| Constructor and Description |
|---|
IRModuleBody(IRManager manager,
IRScope lexicalParent,
RubySymbol name,
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() |
boolean |
isModuleBody()
Does this scope represent a module body?
|
addChildScope, addClosure, allocateInterpreterContext, allocateInterpreterContext, allocateNextPrefixedName, bindingHasEscaped, buildJVMExceptionTable, canReceiveNonlocalReturns, computeScopeFlags, computeScopeFlagsEarly, createTemporaryVariable, debugOutput, definesLocalVariable, depends, dumpToIGV, equals, findExistingLocalVariable, getBeginBlocks, getBooleanVariablesCount, getCFG, getClosures, getCurrentModuleVariable, getCurrentScopeVariable, getEndBlocks, getExecutedPasses, getExecutionContext, getFile, getFileName, getFixnumVariablesCount, getFlags, getFloatVariablesCount, getFullInterpreterContext, getFullyQualifiedName, getId, getInterpreterContext, getLexicalParent, getLexicalScopes, getLine, getLineNumber, getLiveVariablesProblem, getLocalVariable, getLocalVariables, getLocalVariablesCount, getManager, getName, getNearestFlipVariableScope, getNearestMethod, getNearestTopLocalVariableScope, getNewFlipStateVariable, getNewInlineVariable, getNewLabel, getNewLabel, getNewLocalVariable, getNewTemporaryVariable, getNewTemporaryVariableFor, getNewUnboxedVariable, getNextClosureId, getOptimizedInterpreterContext, getPrefixCountSize, getRootLexicalScope, getScopeId, getSelf, getStaticScope, getStoreLocalVarPlacementProblem, getTemporaryVariablesCount, getThreadPollInstrsCount, getUnboxableOpsAnalysisProblem, getUsedLocalVariables, getUsedVariablesCount, getVarIndices, getYieldClosureVariable, hasBeenBuilt, hasExplicitCallProtocol, hashCode, hasLoops, inlineMethod, inlineMethodCompiled, inlineMethodJIT, inliningAllowed, isBeginEndBlock, isFlipScope, isNestedInClosure, isNonSingletonClassBody, isScopeContainedBy, isScriptScope, isTopLocalVariableScope, isUnsafeScope, lookupExistingLVar, maybeUsingRefinements, needsBinding, needsFrame, needsOnlyBackref, parentMaybeUsingRefinements, prepareForCompilation, prepareFullBuild, putLiveVariablesProblem, putStoreLocalVarPlacementProblem, putUnboxableOpsAnalysisProblem, receivesKeywordArgs, recordBeginBlock, removeClosure, resetState, resetTemporaryVariables, resetVariableCounter, reuseParentScope, setExplicitCallProtocolFlag, setFileName, setHasLoopsFlag, setInterpreterContext, setIsMaybeUsingRefinements, setLabelIndices, setLocalVariables, setName, setTemporaryVariableCount, setUpUseDefLocalVarMaps, toString, toStringCompileForm, toStringInstrs, usesEval, usesLocalVariable, usesZSuperpublic IRModuleBody(IRManager manager, IRScope lexicalParent, RubySymbol name, int lineNumber, StaticScope staticScope)
public int getNearestModuleReferencingScopeDepth()
IRScopegetNearestModuleReferencingScopeDepth in class IRScopepublic IRScopeType getScopeType()
getScopeType in class IRScopepublic boolean isModuleBody()
IRScopeisModuleBody in class IRScopeCopyright © 2001-2018 JRuby. All Rights Reserved.