Top Fields Constructors Methods
org.jruby.ir.operands

public abstract Class Reference

extends Operand
Class Inheritance
Known Direct Subclasses
org.jruby.ir.operands.GlobalVariable, org.jruby.ir.operands.NthRef
Imports
org.jruby.RubySymbol, org.jruby.ir.persistence.IRWriterEncoder, org.jruby.ir.transformations.inlining.CloneInfo, java.util.List

Field Summary

Modifier and TypeField and Description
private final RubySymbol
Inherited from org.jruby.ir.operands.Operand:
EMPTY_ARRAY

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
addUsedVariables(List<Variable> l)

Implements abstract org.jruby.ir.operands.Operand.addUsedVariables.

Append the list of variables used in this operand to the input list -- force every operand to implement this because a missing implementation can cause bad failures.

public Operand
public void
public String
public RubySymbol
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.jruby.ir.operands.Operand:
canCopyPropagategetOperandTypegetSimplifiedOperandgetValuehasKnownValueisFalseyImmediateisTruthyImmediateretrievevisit

Field Detail

nameback to summary
private final RubySymbol name

Constructor Detail

Referenceback to summary
public Reference(RubySymbol name)

Method Detail

addUsedVariablesback to summary
public void addUsedVariables(List<Variable> l)

Implements abstract org.jruby.ir.operands.Operand.addUsedVariables.

Doc from org.jruby.ir.operands.Operand.addUsedVariables.

Append the list of variables used in this operand to the input list -- force every operand to implement this because a missing implementation can cause bad failures.

Annotations
@Override
cloneForInliningback to summary
public Operand cloneForInlining(CloneInfo ii)

Implements abstract org.jruby.ir.operands.Operand.cloneForInlining.

Annotations
@Override
encodeback to summary
public void encode(IRWriterEncoder e)

Overrides org.jruby.ir.operands.Operand.encode.

Annotations
@Override
getIdback to summary
public String getId()
getNameback to summary
public RubySymbol getName()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override