|
Public Types |
enum | Properties {
DOCORDER = 0x001,
PEER = 0x002,
SUBTREE = 0x004,
GROUPED = 0x008,
SAMEDOC = 0x010,
ONENODE = 0x020,
SELF = 0x040,
FORWARDREF = 0x080,
UNDEFINEDVAR = 0x100
} |
| Properties that allow optimisation regarding sorting or not. More...
|
Public Member Functions |
| StaticAnalysis (XPath2MemoryManager *memMgr) |
| StaticAnalysis (const StaticAnalysis &o, XPath2MemoryManager *memMgr) |
void | copy (const StaticAnalysis &o) |
void | clear () |
| Clears all the information in this StaticAnalysis.
|
void | forceNoFolding (bool value) |
| Overrides all the other flags, and never allows this sub-expression to be constant folded.
|
bool | isNoFoldingForced () const |
void | contextItemUsed (bool value) |
void | contextPositionUsed (bool value) |
void | contextSizeUsed (bool value) |
bool | isContextItemUsed () const |
bool | isContextPositionUsed () const |
bool | isContextSizeUsed () const |
bool | areContextFlagsUsed () const |
| Returns true if any of the context item flags have been used.
|
void | currentTimeUsed (bool value) |
void | implicitTimezoneUsed (bool value) |
void | availableDocumentsUsed (bool value) |
void | availableCollectionsUsed (bool value) |
bool | areDocsOrCollectionsUsed () const |
void | variableUsed (const XMLCh *namespaceURI, const XMLCh *name) |
bool | removeVariable (const XMLCh *namespaceURI, const XMLCh *name) |
bool | isVariableUsed (const XMLCh *namespaceURI, const XMLCh *name) const |
VarEntry * | variablesUsed () const |
void | add (const StaticAnalysis &o) |
| Sets the members of this StaticAnalysis from the given StaticAnalysis.
|
void | addExceptContextFlags (const StaticAnalysis &o) |
void | addExceptVariable (const XMLCh *namespaceURI, const XMLCh *name, const StaticAnalysis &o) |
bool | isUsed () const |
| Returns true if flags are set, or variables have been used.
|
bool | isUsedExceptContextFlags () const |
void | creative (bool value) |
bool | isCreative () const |
void | updating (bool value) |
bool | isUpdating () const |
void | possiblyUpdating (bool value) |
bool | isPossiblyUpdating () const |
unsigned int | getProperties () const |
void | setProperties (unsigned int props) |
const StaticType & | getStaticType () const |
StaticType & | getStaticType () |
std::string | toString () const |