|
||||||||||
| 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.SumExpr
public class SumExpr
| 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 | |
|---|---|
SumExpr(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)
Generate SQL capable string. |
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 SumExpr(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)
CExpr
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 | |||||||||