2020-02-17 21:05:20 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2001-2006
|
|
|
|
* DecisionSoft Limited. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2006
|
|
|
|
* Progress Software Corporation. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2006
|
|
|
|
* Oracle. All rights reserved.
|
|
|
|
*
|
|
|
|
* See the file LICENSE for redistribution information.
|
|
|
|
*
|
2020-02-17 21:11:31 +00:00
|
|
|
* $Id: XQFunctionCall.hpp,v 1.10 2007/07/10 16:28:57 jpcs Exp $
|
2020-02-17 21:05:20 +00:00
|
|
|
*/
|
|
|
|
|
2020-02-17 21:11:31 +00:00
|
|
|
#ifndef XQFUNCTIONCALL_HPP
|
|
|
|
#define XQFUNCTIONCALL_HPP
|
2020-02-17 21:05:20 +00:00
|
|
|
|
|
|
|
#include <xqilla/ast/ASTNodeImpl.hpp>
|
|
|
|
|
|
|
|
class XQILLA_API XQFunctionCall : public ASTNodeImpl
|
|
|
|
{
|
|
|
|
public:
|
2020-02-17 21:11:31 +00:00
|
|
|
XQFunctionCall(const XMLCh *qname, VectorOfASTNodes *args, XPath2MemoryManager *mm);
|
2020-02-17 21:05:20 +00:00
|
|
|
|
|
|
|
virtual ASTNode* staticResolution(StaticContext *context);
|
|
|
|
virtual ASTNode *staticTyping(StaticContext *context);
|
|
|
|
|
2020-02-17 21:11:31 +00:00
|
|
|
virtual Result createResult(DynamicContext* context, int flags=0) const;
|
|
|
|
|
|
|
|
const XMLCh *getQName() const { return qname_; }
|
|
|
|
const VectorOfASTNodes *getArguments() const { return args_; }
|
2020-02-17 21:05:20 +00:00
|
|
|
|
2020-02-17 21:11:31 +00:00
|
|
|
private:
|
|
|
|
const XMLCh *qname_;
|
|
|
|
VectorOfASTNodes *args_;
|
2020-02-17 21:05:20 +00:00
|
|
|
};
|
|
|
|
|
2020-02-17 21:11:31 +00:00
|
|
|
#endif
|