org.jruby.compiler.ir.operands
Class BooleanLiteral

java.lang.Object
  extended by org.jruby.compiler.ir.operands.Operand
      extended by org.jruby.compiler.ir.operands.Constant
          extended by org.jruby.compiler.ir.operands.BooleanLiteral

public class BooleanLiteral
extends Constant


Field Summary
static BooleanLiteral FALSE
           
static BooleanLiteral TRUE
           
 
Fields inherited from class org.jruby.compiler.ir.operands.Constant
cachedValue
 
Fields inherited from class org.jruby.compiler.ir.operands.Operand
EMPTY_ARRAY
 
Method Summary
 boolean isFalse()
           
 boolean isTrue()
           
 BooleanLiteral logicalNot()
           
 java.lang.Object retrieve(InterpreterContext interp)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.operands.Constant
isConstant
 
Methods inherited from class org.jruby.compiler.ir.operands.Operand
addUsedVariables, cloneForInlining, fetchCompileTimeArrayElement, getSimplifiedOperand, getTargetClass, getValue, isNonAtomicValue, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRUE

public static final BooleanLiteral TRUE

FALSE

public static final BooleanLiteral FALSE
Method Detail

isTrue

public boolean isTrue()

isFalse

public boolean isFalse()

logicalNot

public BooleanLiteral logicalNot()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

retrieve

public java.lang.Object retrieve(InterpreterContext interp)
Overrides:
retrieve in class Operand


Copyright © 2002-2009 JRuby Team. All Rights Reserved.