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()intbooleanIs this an eval script or a regular file script?booleanvoidsetFileName(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, toStringBodyMethods 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:
getNextClosureIdin classIRClosure
-
getNewLabel
- Overrides:
getNewLabelin classIRClosure
-
getScopeType
- Overrides:
getScopeTypein classIRClosure
-
isWhereFlipFlopStateVariableIs
public boolean isWhereFlipFlopStateVariableIs()- Overrides:
isWhereFlipFlopStateVariableIsin classIRClosure
-
isScriptScope
public boolean isScriptScope()Description copied from class:IRScopeIs this an eval script or a regular file script?- Overrides:
isScriptScopein classIRScope
-
setFileName
- Overrides:
setFileNamein classIRScope
-
getFile
- Specified by:
getFilein interfaceParseResult- Overrides:
getFilein classIRScope
-