public class IRModuleBody extends IRScope
compilable, fullInterpreterContext, interpreterContext, LOG, nextClosureIndex, optimizedInterpreterContext| Constructor and Description |
|---|
IRModuleBody(IRManager manager,
IRScope lexicalParent,
ByteList name,
int lineNumber,
StaticScope staticScope,
boolean executesOnce) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupAfterExecution()
We are done with execution of this scope and we can cleanup some amount of things
in this scope which will no longer be used.
|
boolean |
executesOnce() |
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?
|
accessesParentsLocalVariables, addChildScope, addClosure, allocateInitialFlags, allocateInterpreterContext, allocateInterpreterContext, buildJVMExceptionTable, canCaptureCallersBinding, canReceiveBreaks, canReceiveNonlocalReturns, captureParentRefinements, countForLoops, debugOutput, depends, dumpToIGV, equals, findExistingLocalVariable, getByteName, getClosures, getExecutedPasses, getExecutionContext, getFile, getFileName, getFullInterpreterContext, getFullyQualifiedName, getId, getInterpreterContext, getLexicalParent, getLexicalScopes, getLine, getLineNumber, getLocalVariable, getLocalVariables, getManager, getName, getNearestMethod, getNearestTopLocalVariableScope, getNewLabel, getNewLabel, getNewLocalVariable, getNextClosureId, getNextLabelIndex, getOptimizedInterpreterContext, getRootLexicalScope, getScopeId, getSelf, getStaticScope, hasBeenBuilt, hasBreakInstructions, hashCode, hasLoops, hasNonLocalReturns, inlineMethod, inlineMethodCompiled, inlineMethodJIT, inliningAllowed, isNestedInClosure, isNonSingletonClassBody, isScopeContainedBy, isScriptScope, isTopLocalVariableScope, isWithinEND, lookupExistingLVar, maybeUsingRefinements, needsCodeCoverage, parentMaybeUsingRefinements, persistScopeFlags, persistScopeHeader, prepareForCompilation, prepareFullBuild, receivesClosureArg, receivesKeywordArgs, removeClosure, setAccessesParentsLocalVariables, setByteName, setCanCaptureCallersBinding, setCanReceiveBreaks, setCanReceiveNonlocalReturns, setFileName, setHasBreakInstructions, setHasLoops, setHasNonLocalReturns, setIsMaybeUsingRefinements, setNeedsCodeCoverage, setNextLabelIndex, setReceivesClosureArg, setReceivesKeywordArgs, setUsesEval, setUsesZSuper, toString, toStringCompileForm, toStringInstrs, usesEval, usesZSuperpublic IRModuleBody(IRManager manager, IRScope lexicalParent, ByteList name, int lineNumber, StaticScope staticScope, boolean executesOnce)
public int getNearestModuleReferencingScopeDepth()
IRScopegetNearestModuleReferencingScopeDepth in class IRScopepublic IRScopeType getScopeType()
getScopeType in class IRScopepublic boolean isModuleBody()
IRScopeisModuleBody in class IRScopepublic void cleanupAfterExecution()
IRScopecleanupAfterExecution in class IRScopepublic boolean executesOnce()
executesOnce in class IRScopeCopyright © 2001-2021 JRuby. All Rights Reserved.