Package org.jruby.ir
Class IREvalScript
java.lang.Object
org.jruby.ir.IRScope
org.jruby.ir.IRClosure
org.jruby.ir.IREvalScript
- All Implemented Interfaces:
ParseResult
-
Field Summary
Fields inherited from class org.jruby.ir.IRScope
compilable, fullInterpreterContext, interpreterContext, LOG, nextClosureIndex, optimizedInterpreterContext
-
Constructor Summary
ConstructorsConstructorDescriptionIREvalScript
(IRManager manager, IRScope lexicalParent, String fileName, int lineNumber, StaticScope staticScope, EvalType evalType) -
Method Summary
Modifier and TypeMethodDescriptiongetFile()
int
boolean
Is this an eval script or a regular file script?boolean
void
setFileName
(String fileName) Methods inherited from class org.jruby.ir.IRClosure
allocateInterpreterContext, allocateInterpreterContext, cloneForInlining, cloneForInlining, convertToMethod, findExistingLocalVariable, getArgumentDescriptors, getBlockBody, getLocalVariable, getNewLocalVariable, getSignature, isEND, isNestedClosuresSafeForMethodConversion, isTopLocalVariableScope, persistScopeHeader, setArgumentDescriptors, setIsEND, setSignature, setSource, toStringBody
Methods inherited from class org.jruby.ir.IRScope
accessesParentsLocalVariables, addChildScope, addClosure, allocateInitialFlags, anyUsesEval, buildJVMExceptionTable, builtInterpreterContext, canCaptureCallersBinding, canReceiveBreaks, canReceiveNonlocalReturns, captureParentRefinements, cleanupAfterExecution, correctVariableDepthForForLoopsForEncoding, debugOutput, depends, dumpToIGV, equals, executesOnce, getAST, getByteName, getClosures, getCoverageMode, getDynamicScope, getEncoding, getExecutedPasses, getExecutionContext, getFileName, getFullInterpreterContext, getFullyQualifiedName, getId, getInterpreterContext, getLexicalParent, getLexicalScopes, getLine, getLineNumber, getLocalVariables, getManager, getName, getNearestMethod, getNearestModuleReferencingScopeDepth, getNearestNonClosurelikeScope, getNearestTopLocalVariableScope, getNewLabel, getNextLabelIndex, getOptimizedInterpreterContext, getRootLexicalScope, getScopeId, getSelf, getStaticScope, hasBeenBuilt, hasBreakInstructions, hasFlipFlops, hashCode, hasLoops, hasNonLocalReturns, inlineMethod, inlineMethodCompiled, inlineMethodJIT, inliningAllowed, isModuleBody, isNestedInClosure, isNonSingletonClassBody, isRuby2Keywords, isScopeContainedBy, isWithinEND, lookupExistingLVar, maybeUsingRefinements, needsCodeCoverage, parentMaybeUsingRefinements, persistScopeFlags, prepareForCompilation, prepareFullBuild, receivesClosureArg, receivesKeywordArgs, removeClosure, setAccessesParentsLocalVariables, setByteName, setCanCaptureCallersBinding, setCanReceiveBreaks, setCanReceiveNonlocalReturns, setCoverageMode, setHasBreakInstructions, setHasFlipFlops, setHasLoops, setHasNonLocalReturns, setIsMaybeUsingRefinements, setNeedsCodeCoverage, setNextLabelIndex, setReceivesClosureArg, setReceivesKeywordArgs, setRuby2Keywords, setUsesEval, setUsesSuper, setUsesZSuper, toString, toStringCompileForm, toStringInstrs, usesEval, usesSuper, usesZSuper
-
Constructor Details
-
IREvalScript
public IREvalScript(IRManager manager, IRScope lexicalParent, String fileName, int lineNumber, StaticScope staticScope, EvalType evalType)
-
-
Method Details
-
getNextClosureId
public int getNextClosureId()- Overrides:
getNextClosureId
in classIRClosure
-
getNewLabel
- Overrides:
getNewLabel
in classIRClosure
-
getScopeType
- Overrides:
getScopeType
in classIRClosure
-
isWhereFlipFlopStateVariableIs
public boolean isWhereFlipFlopStateVariableIs()- Overrides:
isWhereFlipFlopStateVariableIs
in classIRClosure
-
isScriptScope
public boolean isScriptScope()Description copied from class:IRScope
Is this an eval script or a regular file script?- Overrides:
isScriptScope
in classIRScope
-
setFileName
- Overrides:
setFileName
in classIRScope
-
getFile
- Specified by:
getFile
in interfaceParseResult
- Overrides:
getFile
in classIRScope
-