|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclarion.clarion.runtime.expr.CExpr
public abstract class CExpr
| Nested Class Summary | |
|---|---|
static class |
CExpr.DeepIterator
|
protected static class |
CExpr.GenericOp
|
static class |
CExpr.JoinIterator
|
static class |
CExpr.OneIterator
|
static class |
CExpr.OpIterable
|
static class |
CExpr.OpIterator
|
static class |
CExpr.TwoIterator
|
static class |
CExpr.ZeroIterator
|
| Constructor Summary | |
|---|---|
CExpr()
|
|
| Method Summary | |
|---|---|
abstract void |
cast(CExprType type)
Force expr type to a new cast |
protected void |
cast(java.lang.Iterable<CExpr> in,
CExprType type)
|
abstract java.util.Iterator<CExpr> |
directChildren()
|
abstract ClarionObject |
eval()
Generate result |
abstract boolean |
generateString(java.lang.StringBuilder out,
boolean strict)
Generate SQL capable string. |
abstract CExprType |
getType()
Work out expression type |
abstract boolean |
isRecastableType()
Return whether or not expression type is fixed. |
protected boolean |
isRecastableType(java.lang.Iterable<CExpr> in)
|
java.util.Iterator<CExpr> |
iterator()
|
abstract int |
precendence()
Return order of precendence. |
protected CExprType |
resolveCasts(java.lang.Iterable<CExpr> in)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CExpr()
| Method Detail |
|---|
public abstract CExprType getType()
public abstract void cast(CExprType type)
public abstract boolean isRecastableType()
public abstract ClarionObject eval()
public abstract int precendence()
public abstract java.util.Iterator<CExpr> directChildren()
public abstract boolean generateString(java.lang.StringBuilder out,
boolean strict)
public java.util.Iterator<CExpr> iterator()
protected CExprType resolveCasts(java.lang.Iterable<CExpr> in)
protected boolean isRecastableType(java.lang.Iterable<CExpr> in)
protected void cast(java.lang.Iterable<CExpr> in,
CExprType type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||