Package org.jruby.ir
Class IRFor
java.lang.Object
org.jruby.ir.IRScope
org.jruby.ir.IRClosure
org.jruby.ir.IRFor
- All Implemented Interfaces:
ParseResult
Represents a 'for' loop
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ByteListprivate static final ByteListprivate static final ByteListFields inherited from class org.jruby.ir.IRScope
compilable, fullInterpreterContext, interpreterContext, localVars, LOG, nextClosureIndex, optimizedInterpreterContext -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateUsed by cloning code for inliningIRFor(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, Signature signature) IRFor(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, Signature signature, ByteList labelPrefix) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.jruby.ir.IRClosure
allocateInterpreterContext, allocateInterpreterContext, cloneForInlining, convertToMethod, findExistingLocalVariable, getArgumentDescriptors, getBlockBody, getLocalVariable, getNewLabel, getNewLocalVariable, getNextClosureId, getSignature, isEND, isNestedClosuresSafeForMethodConversion, isTopLocalVariableScope, persistScopeHeader, setArgumentDescriptors, setByteName, setIsEND, setSource, toStringBodyMethods inherited from class org.jruby.ir.IRScope
accessesParentsLocalVariables, addChildScope, addClosure, allocateInitialFlags, anyUsesEval, buildJVMExceptionTable, builtInterpreterContext, canCaptureCallersBinding, canReceiveBreaks, canReceiveNonlocalReturns, captureParentRefinements, cleanupAfterExecution, countForLoops, debugOutput, depends, dumpToIGV, equals, executesOnce, getByteName, getClosures, getCoverageMode, getExecutedPasses, getExecutionContext, getFile, getFileName, getFullInterpreterContext, getFullyQualifiedName, getId, getInterpreterContext, getLexicalParent, getLexicalScopes, getLine, getLineNumber, getLocalVariables, getManager, getName, getNearestMethod, getNearestModuleReferencingScopeDepth, getNearestTopLocalVariableScope, getNewLabel, getNextLabelIndex, getOptimizedInterpreterContext, getRootLexicalScope, getScopeId, getSelf, getStaticScope, hasBeenBuilt, hasBreakInstructions, hashCode, hasLoops, hasNonLocalReturns, inlineMethod, inlineMethodCompiled, inlineMethodJIT, inliningAllowed, isModuleBody, isNestedInClosure, isNonSingletonClassBody, isScopeContainedBy, isScriptScope, isWithinEND, lookupExistingLVar, maybeUsingRefinements, needsCodeCoverage, parentMaybeUsingRefinements, persistScopeFlags, prepareForCompilation, prepareFullBuild, receivesClosureArg, receivesKeywordArgs, removeClosure, setAccessesParentsLocalVariables, setCanCaptureCallersBinding, setCanReceiveBreaks, setCanReceiveNonlocalReturns, setCoverageMode, setFileName, setHasBreakInstructions, setHasLoops, setHasNonLocalReturns, setIsMaybeUsingRefinements, setNeedsCodeCoverage, setNextLabelIndex, setReceivesClosureArg, setReceivesKeywordArgs, setUsesEval, setUsesSuper, setUsesZSuper, toString, toStringCompileForm, toStringInstrs, usesEval, usesSuper, usesZSuper
-
Field Details
-
FOR_LOOP
-
_BEGIN_
-
FOR_LOOP_CLONE
-
-
Constructor Details
-
IRFor
public IRFor(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, Signature signature, ByteList labelPrefix) -
IRFor
public IRFor(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, Signature signature) -
IRFor
Used by cloning code for inlining
-
-
Method Details
-
getScopeType
- Overrides:
getScopeTypein classIRClosure
-
cloneForInlining
- Overrides:
cloneForInliningin classIRClosure
-