20 #ifndef _VARIABLETYPESTORE_HPP 21 #define _VARIABLETYPESTORE_HPP 23 #include <xqilla/framework/XQillaExport.hpp> 24 #include <xercesc/util/XercesDefs.hpp> 30 class XQGlobalVariable;
41 virtual void clear() = 0;
44 virtual void addLocalScope() = 0;
46 virtual void addLogicalBlockScope() = 0;
49 virtual void removeScope() = 0;
52 virtual void declareGlobalVar(
const XMLCh* namespaceURI,
const XMLCh* name,
56 virtual const StaticAnalysis* getGlobalVar(
const XMLCh* namespaceURI,
const XMLCh* name,
57 XQGlobalVariable **global = 0)
const = 0;
61 virtual void declareVar(
const XMLCh* namespaceURI,
const XMLCh* name,
67 virtual const StaticAnalysis *getVar(
const XMLCh* namespaceURI,
const XMLCh* name,
68 XQGlobalVariable **global = 0)
const = 0;
Definition: XPath2MemoryManager.hpp:45
This is the wrapper class for the variable store, which implements the lookup and scoping of simple v...
Definition: VariableTypeStore.hpp:34
virtual ~VariableTypeStore()
default destructor
Definition: VariableTypeStore.hpp:38
Records access to various parts of the context during static resolution.
Definition: StaticAnalysis.hpp:35