Qt 4.8
|
Base class for expressions that has no operands. More...
#include <qemptycontainer_p.h>
Public Functions | |
virtual Expression::List | operands () const |
virtual void | setOperands (const Expression::List &) |
Public Functions inherited from QPatternist::Expression | |
virtual ExpressionVisitorResult::Ptr | accept (const ExpressionVisitor::Ptr &visitor) const =0 |
virtual const SourceLocationReflection * | actualReflection () const |
Returns this . More... | |
virtual void | announceFocusType (const ItemType::Ptr &itemType) |
virtual Expression::Ptr | compress (const StaticContext::Ptr &context) |
Properties | deepProperties () const |
Computes the union of properties for this Expression and all its descending children. More... | |
virtual Properties | dependencies () const |
virtual QString | description () const |
virtual bool | evaluateEBV (const DynamicContext::Ptr &context) const |
virtual Item::Iterator::Ptr | evaluateSequence (const DynamicContext::Ptr &context) const |
virtual Item | evaluateSingleton (const DynamicContext::Ptr &context) const |
virtual void | evaluateToSequenceReceiver (const DynamicContext::Ptr &context) const |
virtual ItemType::Ptr | expectedContextItemType () const |
Expression () | |
bool | has (const Property prop) const |
bool | hasDependency (const Property prop) const |
virtual ID | id () const |
bool | is (const ID id) const |
bool | isEvaluated () const |
virtual ItemType::Ptr | newFocusType () const |
virtual QList< QExplicitlySharedDataPointer< OptimizationPass > > | optimizationPasses () const |
virtual PatternPriority | patternPriority () const |
virtual Properties | properties () const |
const Expression::Ptr & | rewrite (const Expression::Ptr &to, const StaticContext::Ptr &context) const |
Rewrites this Expression to to , and return to . More... | |
virtual SequenceType::Ptr | staticType () const =0 |
virtual Expression::Ptr | typeCheck (const StaticContext::Ptr &context, const SequenceType::Ptr &reqType) |
virtual | ~Expression () |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Public Functions inherited from QPatternist::CppCastingHelper< Expression > | |
const TCastTarget * | as () const |
TCastTarget * | as () |
Public Functions inherited from QPatternist::SourceLocationReflection | |
virtual QSourceLocation | sourceLocation () const |
SourceLocationReflection () | |
virtual | ~SourceLocationReflection () |
Protected Functions | |
virtual bool | compressOperands (const StaticContext::Ptr &context) |
virtual SequenceType::List | expectedOperandTypes () const |
Protected Functions inherited from QPatternist::Expression | |
void | typeCheckOperands (const StaticContext::Ptr &context) |
Protected Functions inherited from QPatternist::CppCastingHelper< Expression > | |
CppCastingHelper () | |
Base class for expressions that has no operands.
Definition at line 69 of file qemptycontainer_p.h.
|
protectedvirtual |
true
Implements QPatternist::Expression.
Definition at line 64 of file qemptycontainer.cpp.
|
protectedvirtual |
Implements QPatternist::Expression.
Reimplemented in QPatternist::AxisStep, QPatternist::NamespaceConstructor, and QPatternist::UnresolvedVariableReference.
Definition at line 55 of file qemptycontainer.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 50 of file qemptycontainer.cpp.
|
virtual |
Does nothing, since sub-classes has no operands. Calling it makes hence no sense, and it also results in an assert crash.
Implements QPatternist::Expression.
Definition at line 60 of file qemptycontainer.cpp.