Top Fields Constructors Methods
org.jruby.ir.operands

public Class TemporaryClosureVariable

extends TemporaryLocalVariable
Class Inheritance
Imports
org.jruby.ir.persistence.IRReaderDecoder, .IRWriterEncoder, org.jruby.ir.transformations.inlining.SimpleCloneInfo

Field Summary

Modifier and TypeField and Description
private final int
Inherited from org.jruby.ir.operands.TemporaryLocalVariable:
offsetPREFIX

Constructor Summary

AccessConstructor and Description
public
TemporaryClosureVariable(int closureId, int offset)

Method Summary

Modifier and TypeMethod and Description
public Variable
public static TemporaryClosureVariable
public void
public int
public String
public TemporaryVariableType
getType()

Overrides org.jruby.ir.operands.TemporaryLocalVariable.getType.

Differentiates between different types of TemporaryVariables (useful for switch and persistence).

Inherited from org.jruby.ir.operands.TemporaryLocalVariable:
getIdgetOffsetretrievevisit

Field Detail

closureIdback to summary
private final int closureId

Constructor Detail

TemporaryClosureVariableback to summary
public TemporaryClosureVariable(int closureId, int offset)

Method Detail

cloneback to summary
public Variable clone(SimpleCloneInfo ii)

Overrides org.jruby.ir.operands.TemporaryLocalVariable.clone.

Annotations
@Override
decodeback to summary
public static TemporaryClosureVariable decode(IRReaderDecoder d)

Hides org.jruby.ir.operands.TemporaryLocalVariable.decode.

encodeback to summary
public void encode(IRWriterEncoder e)

Overrides org.jruby.ir.operands.TemporaryLocalVariable.encode.

Annotations
@Override
getClosureIdback to summary
public int getClosureId()
getPrefixback to summary
public String getPrefix()

Overrides org.jruby.ir.operands.TemporaryLocalVariable.getPrefix.

Annotations
@Override
getTypeback to summary
public TemporaryVariableType getType()

Overrides org.jruby.ir.operands.TemporaryLocalVariable.getType.

Doc from org.jruby.ir.operands.TemporaryVariable.getType.

Differentiates between different types of TemporaryVariables (useful for switch and persistence).

Annotations
@Override