|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclarion.clarion.runtime.expr.CExpr
org.jclarion.clarion.runtime.expr.BoolExpr
public class BoolExpr
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jclarion.clarion.runtime.expr.CExpr |
|---|
CExpr.DeepIterator, CExpr.GenericOp, CExpr.JoinIterator, CExpr.OneIterator, CExpr.OpIterable, CExpr.OpIterator, CExpr.TwoIterator, CExpr.ZeroIterator |
| Constructor Summary | |
|---|---|
BoolExpr(CExpr base)
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.String op,
CExpr right)
|
void |
cast(CExprType type)
Force expr type to a new cast |
static CExpr |
construct(CExpr left,
java.lang.String op,
CExpr right)
|
java.util.Iterator<CExpr> |
directChildren()
|
ClarionObject |
eval()
Generate result |
boolean |
generateString(java.lang.StringBuilder out,
boolean strict)
In strict mode - we are not allowed to generate SQL if either side of an OR expression is not strict too. |
CExprType |
getType()
Work out expression type |
boolean |
isRecastableType()
Return whether or not expression type is fixed. |
int |
precendence()
Return order of precendence. |
| Methods inherited from class org.jclarion.clarion.runtime.expr.CExpr |
|---|
cast, isRecastableType, iterator, resolveCasts |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoolExpr(CExpr base)
| Method Detail |
|---|
public static CExpr construct(CExpr left,
java.lang.String op,
CExpr right)
public void add(java.lang.String op,
CExpr right)
public ClarionObject eval()
CExpr
eval in class CExprpublic int precendence()
CExpr
precendence in class CExprpublic java.util.Iterator<CExpr> directChildren()
directChildren in class CExpr
public boolean generateString(java.lang.StringBuilder out,
boolean strict)
generateString in class CExprpublic void cast(CExprType type)
CExpr
cast in class CExprpublic CExprType getType()
CExpr
getType in class CExprpublic boolean isRecastableType()
CExpr
isRecastableType in class CExpr
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||