Top Description Fields Constructors Methods
org.jruby.ir

public Class IRFor

extends IRClosure
Class Inheritance
Imports
org.jruby.ir.transformations.inlining.CloneInfo, .SimpleCloneInfo, org.jruby.parser.StaticScope, .StaticScopeFactory, org.jruby.runtime.Signature, org.jruby.util.ByteList

Represents a 'for' loop

Field Summary

Modifier and TypeField and Description
public static final ByteList
private static final ByteList
private static final ByteList
Inherited from org.jruby.ir.IRClosure:
argDescclosureId

Constructor Summary

AccessConstructor and Description
public
IRFor(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, Signature signature, ByteList labelPrefix)

public
IRFor(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, Signature signature)

private
IRFor(IRClosure c, IRScope lexicalParent, int id, ByteList fullName)

Used by cloning code for inlining

Method Summary

Modifier and TypeMethod and Description
public IRClosure
public IRScopeType
Inherited from org.jruby.ir.IRClosure:
allocateInterpreterContextallocateInterpreterContextcloneForInliningconvertToMethodfindExistingLocalVariablegetArgumentDescriptorsgetBlockBodygetLocalVariablegetNewLabelgetNewLocalVariablegetNextClosureIdgetSignatureisENDisNestedClosuresSafeForMethodConversionisTopLocalVariableScopeisWhereFlipFlopStateVariableIspersistScopeHeadersetArgumentDescriptorssetIsENDsetSignaturesetSourcetoStringBody

Field Detail

_BEGIN_back to summary
public static final ByteList _BEGIN_
FOR_LOOPback to summary
private static final ByteList FOR_LOOP
FOR_LOOP_CLONEback to summary
private static final ByteList FOR_LOOP_CLONE

Constructor Detail

IRForback to summary
public IRFor(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, Signature signature, ByteList labelPrefix)
IRForback to summary
public IRFor(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, Signature signature)
IRForback to summary
private IRFor(IRClosure c, IRScope lexicalParent, int id, ByteList fullName)

Used by cloning code for inlining

Method Detail

cloneForInliningback to summary
public IRClosure cloneForInlining(CloneInfo ii)

Overrides org.jruby.ir.IRClosure.cloneForInlining.

Annotations
@Override
getScopeTypeback to summary
public IRScopeType getScopeType()

Overrides org.jruby.ir.IRClosure.getScopeType.

Annotations
@Override