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.Operand
EMPTY_ARRAY
 
Method Summary
 boolean isFalse()
           
 boolean isTrue()
           
 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, fetchCompileTimeArrayElement, getSimplifiedOperand, getTargetClass, getValue, isNonAtomicValue
 
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()

toString

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


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