org.jruby.compiler.ir.operands
Class Operand
java.lang.Object
org.jruby.compiler.ir.operands.Operand
- Direct Known Subclasses:
- ArgIndex, Array, Attribute, Backref, BacktickString, BoxedValue, BreakResult, CompoundArray, CompoundString, Constant, DynamicReference, Hash, Label, MetaObject, MethodHandle, NthRef, Range, Reference, Regexp, Splat, StandardError, SValue, UnboxedValue, Variable
public abstract class Operand
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_ARRAY
public static final Operand[] EMPTY_ARRAY
Operand
public Operand()
isConstant
public boolean isConstant()
isNonAtomicValue
public boolean isNonAtomicValue()
getSimplifiedOperand
public Operand getSimplifiedOperand(java.util.Map<Operand,Operand> valueMap)
getValue
public Operand getValue(java.util.Map<Operand,Operand> valueMap)
fetchCompileTimeArrayElement
public Operand fetchCompileTimeArrayElement(int index,
boolean getSubArray)
getTargetClass
public IRClass getTargetClass()
addUsedVariables
public void addUsedVariables(java.util.List<Variable> l)
- Append the list of variables used in this operand to the input list
cloneForInlining
public Operand cloneForInlining(InlinerInfo ii)
retrieve
public java.lang.Object retrieve(InterpreterContext interp)
store
public java.lang.Object store(InterpreterContext interp,
java.lang.Object value)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.