Qt 4.8
|
Corresponds to the expression parent::node()
.
More...
#include <qparentnodeaxis_p.h>
Public Functions | |
virtual ExpressionVisitorResult::Ptr | accept (const ExpressionVisitor::Ptr &visitor) const |
virtual Item | evaluateSingleton (const DynamicContext::Ptr &context) const |
virtual ItemType::Ptr | expectedContextItemType () const |
virtual Expression::Properties | properties () const |
virtual SequenceType::Ptr | staticType () const |
Public Functions inherited from QPatternist::EmptyContainer | |
virtual Expression::List | operands () const |
virtual void | setOperands (const Expression::List &) |
Public Functions inherited from QPatternist::Expression | |
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 void | evaluateToSequenceReceiver (const DynamicContext::Ptr &context) 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 |
const Expression::Ptr & | rewrite (const Expression::Ptr &to, const StaticContext::Ptr &context) const |
Rewrites this Expression to to , and return to . More... | |
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 () |
Corresponds to the expression parent::node()
.
This AST node is now useless, due to refactorings. Prevously we had Item QAbstractXmlNodeModel::parent(), which didn't have the overhead of allocating an iterator for a single node. However, in order to stream line the API it is now gone and hence the node performs exactly the same as AxisStep.
Definition at line 75 of file qparentnodeaxis_p.h.
|
virtual |
Implements QPatternist::Expression.
Definition at line 61 of file qparentnodeaxis.cpp.
|
virtual |
Reimplemented from QPatternist::Expression.
Definition at line 51 of file qparentnodeaxis.cpp.
|
virtual |
Reimplemented from QPatternist::Expression.
Definition at line 66 of file qparentnodeaxis.cpp.
|
virtual |
Reimplemented from QPatternist::Expression.
Definition at line 56 of file qparentnodeaxis.cpp.
|
virtual |
Implements QPatternist::Expression.
Definition at line 71 of file qparentnodeaxis.cpp.