public class IRScriptBody extends IRScope
compilable, fullInterpreterContext, interpreterContext, LOG, optimizedInterpreterContext
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() |
accessesParentsLocalVariables, addChildScope, addClosure, allocateInitialFlags, allocateInterpreterContext, allocateInterpreterContext, buildJVMExceptionTable, canCaptureCallersBinding, canReceiveBreaks, canReceiveNonlocalReturns, captureParentRefinements, debugOutput, depends, dumpToIGV, equals, executesOnce, findExistingLocalVariable, getByteName, getClosures, getExecutedPasses, getExecutionContext, getFileName, getFullInterpreterContext, getFullyQualifiedName, getInterpreterContext, getLexicalParent, getLexicalScopes, getLine, getLineNumber, getLocalVariable, getLocalVariables, getManager, getNearestMethod, getNearestTopLocalVariableScope, getNewLabel, getNewLabel, getNewLocalVariable, getNextClosureId, getNextLabelIndex, getOptimizedInterpreterContext, getRootLexicalScope, getScopeId, getSelf, getStaticScope, hasBeenBuilt, hasBreakInstructions, hashCode, hasLoops, hasNonLocalReturns, inlineMethod, inlineMethodCompiled, inlineMethodJIT, inliningAllowed, isModuleBody, isNestedInClosure, isNonSingletonClassBody, isScopeContainedBy, isTopLocalVariableScope, isWithinEND, lookupExistingLVar, maybeUsingRefinements, needsCodeCoverage, parentMaybeUsingRefinements, persistScopeFlags, persistScopeHeader, prepareForCompilation, prepareFullBuild, receivesClosureArg, receivesKeywordArgs, removeClosure, setAccessesParentsLocalVariables, setByteName, setCanCaptureCallersBinding, setCanReceiveBreaks, setCanReceiveNonlocalReturns, setHasBreakInstructions, setHasLoops, setHasNonLocalReturns, setIsMaybeUsingRefinements, setNeedsCodeCoverage, setNextLabelIndex, setReceivesClosureArg, setReceivesKeywordArgs, setUsesEval, setUsesZSuper, toStringCompileForm, toStringInstrs, usesEval, usesZSuper
public IRScriptBody(IRManager manager, java.lang.String sourceName, StaticScope staticScope)
public DynamicScope getScriptDynamicScope()
public void setScriptDynamicScope(DynamicScope tlbScope)
public int getNearestModuleReferencingScopeDepth()
IRScope
getNearestModuleReferencingScopeDepth
in class IRScope
public IRScopeType getScopeType()
getScopeType
in class IRScope
public boolean isScriptScope()
IRScope
isScriptScope
in class IRScope
public void setFileName(java.lang.String fileName)
setFileName
in class IRScope
public java.lang.String getFile()
getFile
in interface ParseResult
getFile
in class IRScope
public RubySymbol getName()
public void cleanupAfterExecution()
IRScope
cleanupAfterExecution
in class IRScope
Copyright © 2001-2020 JRuby. All Rights Reserved.