|
||||||||||
| 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.ConstExpr
public class ConstExpr
| 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 | |
|---|---|
ConstExpr(ClarionObject obj)
|
|
| Method Summary | |
|---|---|
void |
cast(CExprType type)
Force expr type to a new cast |
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. |
static ConstExpr |
string(java.lang.String val)
|
| 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 ConstExpr(ClarionObject obj)
| Method Detail |
|---|
public static ConstExpr string(java.lang.String val)
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 | |||||||||