public class BooleanLiteral extends Constant
Modifier and Type | Field and Description |
---|---|
static BooleanLiteral |
FALSE |
static BooleanLiteral |
TRUE |
cachedValue
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
boolean |
isFalse() |
boolean |
isTrue() |
BooleanLiteral |
logicalNot() |
java.lang.Object |
retrieve(InterpreterContext interp) |
java.lang.String |
toString() |
isConstant
addUsedVariables, cloneForInlining, fetchCompileTimeArrayElement, getSimplifiedOperand, getTargetClass, getValue, isNonAtomicValue, store
public static final BooleanLiteral TRUE
public static final BooleanLiteral FALSE
public boolean isTrue()
public boolean isFalse()
public BooleanLiteral logicalNot()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object retrieve(InterpreterContext interp)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.