public class IRScriptBody extends IRScope
compilable, fullInterpreterContext, interpreterContext, LOG, optimizedInterpreterContext, temporaryVariableIndex| Constructor and Description |
|---|
IRScriptBody(IRManager manager,
java.lang.String sourceName,
StaticScope staticScope) |
| 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.
|
java.lang.String |
getFile() |
java.lang.String |
getId() |
RubySymbol |
getName() |
int |
getNearestModuleReferencingScopeDepth()
Returns the nearest scope which we can extract a live module from.
|
IRScopeType |
getScopeType() |
DynamicScope |
getScriptDynamicScope() |
boolean |
isScriptScope()
Is this an eval script or a regular file script?
|
void |
setFileName(java.lang.String fileName) |
void |
setScriptDynamicScope(DynamicScope tlbScope) |
java.lang.String |
toString() |
addChildScope, addClosure, allocateInterpreterContext, allocateInterpreterContext, bindingHasEscaped, buildJVMExceptionTable, canReceiveNonlocalReturns, captureParentRefinements, computeScopeFlags, computeScopeFlagsEarly, createCurrentModuleVariable, createTemporaryVariable, debugOutput, definesLocalVariable, depends, dumpToIGV, equals, executesOnce, findExistingLocalVariable, getByteName, getCFG, getClosures, getExecutedPasses, getExecutionContext, getFileName, getFlags, getFullInterpreterContext, getFullyQualifiedName, getInterpreterContext, getLexicalParent, getLexicalScopes, getLine, getLineNumber, getLiveVariablesProblem, getLocalVariable, getLocalVariables, getLocalVariablesCount, getManager, getNearestMethod, getNearestTopLocalVariableScope, getNewInlineVariable, getNewLabel, getNewLabel, getNewLocalVariable, getNewTemporaryVariable, getNewTemporaryVariableFor, getNewUnboxedVariable, getNextClosureId, getNextLabelIndex, getOptimizedInterpreterContext, getRootLexicalScope, getScopeId, getSelf, getStaticScope, getStoreLocalVarPlacementProblem, getTemporaryVariablesCount, getUnboxableOpsAnalysisProblem, getUsedLocalVariables, hasBeenBuilt, hasExplicitCallProtocol, hashCode, hasLoops, inlineMethod, inlineMethodCompiled, inlineMethodJIT, inliningAllowed, isModuleBody, isNestedInClosure, isNonSingletonClassBody, isScopeContainedBy, isTopLocalVariableScope, isWithinEND, lookupExistingLVar, maybeUsingRefinements, needsBinding, needsFrame, needsOnlyBackref, parentMaybeUsingRefinements, persistScopeHeader, prepareForCompilation, prepareFullBuild, putLiveVariablesProblem, putStoreLocalVarPlacementProblem, putUnboxableOpsAnalysisProblem, receivesKeywordArgs, removeClosure, resetState, reuseParentScope, setByteName, setExplicitCallProtocolFlag, setHasLoopsFlag, setInterpreterContext, setIsMaybeUsingRefinements, setNextLabelIndex, setTemporaryVariableCount, toStringCompileForm, toStringInstrs, usesEval, usesLocalVariable, usesZSuperpublic IRScriptBody(IRManager manager, java.lang.String sourceName, StaticScope staticScope)
public DynamicScope getScriptDynamicScope()
public void setScriptDynamicScope(DynamicScope tlbScope)
public int getNearestModuleReferencingScopeDepth()
IRScopegetNearestModuleReferencingScopeDepth in class IRScopepublic IRScopeType getScopeType()
getScopeType in class IRScopepublic boolean isScriptScope()
IRScopeisScriptScope in class IRScopepublic void setFileName(java.lang.String fileName)
setFileName in class IRScopepublic java.lang.String getFile()
getFile in interface ParseResultgetFile in class IRScopepublic RubySymbol getName()
public void cleanupAfterExecution()
IRScopecleanupAfterExecution in class IRScopeCopyright © 2001-2020 JRuby. All Rights Reserved.