39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
/*
|
|
* 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.
|
|
*
|
|
* $Id: XQAttributeConstructor.hpp,v 1.1 2006/11/03 17:04:19 jpcs Exp $
|
|
*/
|
|
|
|
#if !defined(AFXQ_XQATTRIBUTECONSTRUCTOR_H__56E97972_3896_49D3_B055_36CC3E9E550A__INCLUDED_)
|
|
#define AFXQ_XQATTRIBUTECONSTRUCTOR_H__56E97972_3896_49D3_B055_36CC3E9E550A__INCLUDED_
|
|
|
|
#include <xqilla/ast/XQDOMConstructor.hpp>
|
|
|
|
class XQILLA_API XQAttributeConstructor : public XQDOMConstructor
|
|
{
|
|
public:
|
|
XQAttributeConstructor(ASTNode* name, VectorOfASTNodes* children, XPath2MemoryManager* mm);
|
|
|
|
virtual Sequence collapseTreeInternal(DynamicContext* context, int flags=0) const;
|
|
virtual ASTNode* staticResolution(StaticContext *context);
|
|
virtual ASTNode *staticTyping(StaticContext *context);
|
|
|
|
virtual const XMLCh* getNodeType() const;
|
|
virtual const ASTNode *getName() const;
|
|
virtual const VectorOfASTNodes *getChildren() const;
|
|
|
|
virtual void setName(ASTNode *name);
|
|
|
|
protected:
|
|
ASTNode* m_name;
|
|
VectorOfASTNodes* m_children;
|
|
};
|
|
|
|
#endif
|