org.ow2.opensuit.cel.impl.tree.impl.ast
Class AstInvocation
java.lang.Object
org.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.AstInvocation
- All Implemented Interfaces:
- IExpression, IExprNode
- Direct Known Subclasses:
- AstFunction, AstMethod
public abstract class AstInvocation
- extends AstRightValue
| Fields inherited from class org.ow2.opensuit.cel.impl.tree.impl.ast.AstNode |
position |
|
Constructor Summary |
AstInvocation(int position,
java.lang.String name,
java.util.List<AstNode> args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
converter
protected ITypeConverter converter
args
protected final java.util.List<AstNode> args
name
protected final java.lang.String name
AstInvocation
public AstInvocation(int position,
java.lang.String name,
java.util.List<AstNode> args)
compile
public boolean compile(ITypeConverter converter,
ICompilationContext context,
ICompilationResultWriter results)
- Description copied from interface:
IExprNode
- Allow to compile the given expression with the associated
and . All
messages will be stored into the at
the end of the performed compilation.
- Parameters:
converter - Interface for conversion typescontext - Interface for compilation contextresults - Represent where the messages compilation
will be stored
- Returns:
matchesParamTypes
protected boolean matchesParamTypes(java.lang.reflect.Method method)
invoke
protected java.lang.Object invoke(IEvaluationContext context,
java.lang.reflect.Method method,
java.lang.Object obj)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.