|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.opensuit.cel.impl.tree.impl.ast.AstNode
org.ow2.opensuit.cel.impl.tree.impl.ast.AstRightValue
org.ow2.opensuit.cel.impl.tree.impl.ast.AstLiteral
public abstract class AstLiteral
| Field Summary |
|---|
| Fields inherited from class org.ow2.opensuit.cel.impl.tree.impl.ast.AstNode |
|---|
position |
| Constructor Summary | |
|---|---|
AstLiteral(int position)
|
|
| Method Summary | |
|---|---|
boolean |
compile(ITypeConverter converter,
ICompilationContext ctx,
ICompilationResultWriter messages)
Allow to compile the given expression with the associated |
boolean |
isStaticValue()
Returns true if the expression has a static value (i.e. that does
not depend on any evaluation context). |
| Methods inherited from class org.ow2.opensuit.cel.impl.tree.impl.ast.AstRightValue |
|---|
isReadOnly, set |
| Methods inherited from class org.ow2.opensuit.cel.impl.tree.impl.ast.AstNode |
|---|
appendExpressionString, appendValuePattern, getExpressionString, getPosition, getValuePattern, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ow2.opensuit.cel.IExpression |
|---|
getGenericType, getType, invoke |
| Constructor Detail |
|---|
public AstLiteral(int position)
| Method Detail |
|---|
public final boolean compile(ITypeConverter converter,
ICompilationContext ctx,
ICompilationResultWriter messages)
IExprNode
converter - Interface for conversion typesctx - Interface for compilation contextmessages - Represent where the messages compilation
will be stored
public final boolean isStaticValue()
IExpressiontrue if the expression has a static value (i.e. that does
not depend on any evaluation context).
In such a case, the invoke(...) method may be called with a null
evaluation context.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||