v2.3.0
This commit is contained in:
parent
feed734f17
commit
824eb94695
3514 changed files with 90507 additions and 92619 deletions
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Copyright (c) 2001-2007
|
||||
* Copyright (c) 2001, 2008,
|
||||
* DecisionSoft Limited. All rights reserved.
|
||||
* Copyright (c) 2004-2007
|
||||
* Oracle. All rights reserved.
|
||||
* Copyright (c) 2004, 2011,
|
||||
* Oracle and/or its affiliates. All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -15,8 +15,6 @@
|
|||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#ifndef XQFUNCTIONREF_HPP
|
||||
|
@ -24,32 +22,21 @@
|
|||
|
||||
#include <xqilla/ast/ASTNodeImpl.hpp>
|
||||
|
||||
class XQFunctionRefResult;
|
||||
|
||||
class XQILLA_API XQFunctionRef : public ASTNodeImpl
|
||||
{
|
||||
public:
|
||||
XQFunctionRef(const XMLCh *qname, unsigned int numArgs, XPath2MemoryManager *mm);
|
||||
XQFunctionRef(const XMLCh *uri, const XMLCh *name, unsigned int numArgs, ASTNode *instance, XPath2MemoryManager *mm);
|
||||
|
||||
virtual ASTNode *staticResolution(StaticContext *context);
|
||||
virtual ASTNode *staticTypingImpl(StaticContext *context);
|
||||
virtual Result createResult(DynamicContext* context, int flags=0) const;
|
||||
|
||||
const XMLCh *getQName() const { return qname_; }
|
||||
const XMLCh *getURI() const { return uri_; }
|
||||
const XMLCh *getName() const { return name_; }
|
||||
unsigned int getNumArgs() const { return numArgs_; }
|
||||
|
||||
ASTNode *getInstance() const { return instance_; }
|
||||
void setInstance(ASTNode *i) { instance_ = i; }
|
||||
|
||||
private:
|
||||
const XMLCh *qname_, *prefix_, *uri_, *name_;
|
||||
const XMLCh *qname_;
|
||||
unsigned int numArgs_;
|
||||
ASTNode *instance_;
|
||||
|
||||
friend class XQFunctionRefResult;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue