cgp.runtime
Class BooleanType
java.lang.Object
|
+--cgp.runtime.Type
|
+--cgp.runtime.BooleanType
- public class BooleanType
- extends Type
Field Summary |
private boolean |
value
|
Methods inherited from class cgp.runtime.Type |
addOp,
divideOp,
geOp,
getAttr,
getKBStack,
getNthOp,
getScopeStack,
getType,
gtOp,
invokeMemberFunc,
isOp,
leOp,
ltOp,
modulusOp,
multiplyOp,
negateOp,
operationError,
setAttr,
setKBStack,
setNthOp,
setScopeStack,
setType,
subtractOp |
Methods inherited from class java.lang.Object |
,
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
value
private boolean value
BooleanType
public BooleanType(boolean b)
getValue
public boolean getValue()
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
- equals in class java.lang.Object
eqOp
public Type eqOp(Type other)
- Overrides:
- eqOp in class Type
neOp
public Type neOp(Type other)
- Overrides:
- neOp in class Type
orOp
public Type orOp(Type other)
- Overrides:
- orOp in class Type
andOp
public Type andOp(Type other)
- Overrides:
- andOp in class Type
notOp
public Type notOp()
- Overrides:
- notOp in class Type