|
||||||||||
| 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.AstProperty
org.ow2.opensuit.cel.impl.tree.impl.ast.AstDot
public class AstDot
| Field Summary | |
|---|---|
protected java.lang.String |
property
|
| Fields inherited from class org.ow2.opensuit.cel.impl.tree.impl.ast.AstProperty |
|---|
lvalue, prefix |
| Fields inherited from class org.ow2.opensuit.cel.impl.tree.impl.ast.AstNode |
|---|
position |
| Constructor Summary | |
|---|---|
AstDot(int position,
AstNode base,
java.lang.String property,
boolean lvalue)
|
|
| Method Summary | |
|---|---|
protected void |
appendExpressionString(java.lang.StringBuilder builder)
Recursive method to build an expression string form. |
protected void |
appendValuePattern(java.lang.StringBuilder builder)
Recursive method to build the returned values regular expression. |
boolean |
compile(ITypeConverter converter,
ICompilationContext ctx,
ICompilationResultWriter messages)
Allow to compile the given expression with the associated |
java.lang.reflect.Type |
getGenericType()
Returns the expression generic type |
java.lang.Class<?> |
getType()
Returns the expression type |
java.lang.Object |
invoke(IEvaluationContext iContext)
Evaluates the expression. |
boolean |
isReadOnly()
Returns true if the expression cannot be set |
boolean |
isStaticValue()
Returns true if the expression has a static value (i.e. that does
not depend on any evaluation context). |
void |
set(IEvaluationContext iContext,
java.lang.Object iValue)
Assigns a value to this expression (if no read only) |
| Methods inherited from class org.ow2.opensuit.cel.impl.tree.impl.ast.AstNode |
|---|
getExpressionString, getPosition, getValuePattern, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.String property
| Constructor Detail |
|---|
public AstDot(int position,
AstNode base,
java.lang.String property,
boolean lvalue)
| Method Detail |
|---|
public 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 java.lang.Object invoke(IEvaluationContext iContext)
throws java.lang.Exception
IExpression
java.lang.Exceptionpublic java.lang.reflect.Type getGenericType()
IExpression
public java.lang.Class<?> getType()
IExpression
public 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.
public boolean isReadOnly()
IExpressiontrue if the expression cannot be set
public void set(IEvaluationContext iContext,
java.lang.Object iValue)
throws java.lang.Exception
IExpression
java.lang.Exceptionprotected void appendExpressionString(java.lang.StringBuilder builder)
AstNode
appendExpressionString in class AstNodeprotected void appendValuePattern(java.lang.StringBuilder builder)
AstNode
appendValuePattern in class AstNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||