Qt 4.8
|
Base class for expressions that has exactly two operands. More...
#include <qpaircontainer_p.h>
Protected Functions | |
PairContainer (const Expression::Ptr &operand1, const Expression::Ptr &operand2) | |
Protected Functions inherited from QPatternist::Expression | |
void | typeCheckOperands (const StaticContext::Ptr &context) |
Protected Functions inherited from QPatternist::CppCastingHelper< Expression > | |
CppCastingHelper () | |
Protected Variables | |
Expression::Ptr | m_operand1 |
Expression::Ptr | m_operand2 |
Base class for expressions that has exactly two operands.
Definition at line 70 of file qpaircontainer_p.h.
|
protected |
Definition at line 50 of file qpaircontainer.cpp.
|
virtual |
true
if all operands are constant values of somekind, and are already evaluated. A string literal, is a typical example. Implements QPatternist::Expression.
Definition at line 75 of file qpaircontainer.cpp.
|
virtual |
If this Expression has no operands, an empty list should be returned.
Implements QPatternist::Expression.
Definition at line 58 of file qpaircontainer.cpp.
Referenced by QPatternist::ElementConstructor::typeCheck().
|
virtual |
|
protected |
Definition at line 80 of file qpaircontainer_p.h.
Referenced by QPatternist::LetClause::bindVariable(), QPatternist::OrExpression::compress(), QPatternist::AndExpression::compress(), QPatternist::NodeComparison::compress(), QPatternist::ValueComparison::compress(), QPatternist::GeneralComparison::compress(), QPatternist::Path::compress(), compressOperands(), QPatternist::ProcessingInstructionConstructor::data(), QPatternist::NodeComparison::evaluate(), QPatternist::OrExpression::evaluateEBV(), QPatternist::AndExpression::evaluateEBV(), QPatternist::QuantifiedExpression::evaluateEBV(), QPatternist::GeneralComparison::evaluateEBV(), QPatternist::CombineNodes::evaluateEBV(), QPatternist::RangeExpression::evaluateSequence(), QPatternist::ForClause::evaluateSequence(), QPatternist::CombineNodes::evaluateSequence(), QPatternist::GenericPredicate::evaluateSequence(), QPatternist::Path::evaluateSequence(), QPatternist::AttributeConstructor::evaluateSingleton(), QPatternist::ElementConstructor::evaluateSingleton(), QPatternist::ValueComparison::evaluateSingleton(), QPatternist::ArithmeticExpression::evaluateSingleton(), QPatternist::RangeExpression::evaluateSingleton(), QPatternist::Path::evaluateSingleton(), QPatternist::GenericPredicate::evaluateSingleton(), QPatternist::ProcessingInstructionConstructor::evaluateTardata(), QPatternist::ComputedNamespaceConstructor::evaluateToSequenceReceiver(), QPatternist::AttributeConstructor::evaluateToSequenceReceiver(), QPatternist::ElementConstructor::evaluateToSequenceReceiver(), QPatternist::ForClause::evaluateToSequenceReceiver(), QPatternist::Path::evaluateToSequenceReceiver(), QPatternist::Path::newFocusType(), QPatternist::GenericPredicate::newFocusType(), operands(), PairContainer(), QPatternist::Path::properties(), setOperands(), QPatternist::ArithmeticExpression::staticType(), QPatternist::ForClause::staticType(), QPatternist::CombineNodes::staticType(), QPatternist::RangeExpression::staticType(), QPatternist::ValueComparison::staticType(), QPatternist::NodeComparison::staticType(), QPatternist::GenericPredicate::staticType(), QPatternist::Path::staticType(), QPatternist::ValueComparison::typeCheck(), QPatternist::ForClause::typeCheck(), QPatternist::GeneralComparison::typeCheck(), QPatternist::LetClause::typeCheck(), QPatternist::CombineNodes::typeCheck(), QPatternist::ArithmeticExpression::typeCheck(), and QPatternist::Path::typeCheck().
|
protected |
Definition at line 81 of file qpaircontainer_p.h.
Referenced by QPatternist::OrExpression::compress(), QPatternist::AndExpression::compress(), QPatternist::NodeComparison::compress(), QPatternist::ForClause::compress(), QPatternist::ValueComparison::compress(), QPatternist::GeneralComparison::compress(), QPatternist::Path::compress(), compressOperands(), QPatternist::ProcessingInstructionConstructor::data(), QPatternist::NodeComparison::evaluate(), QPatternist::OrExpression::evaluateEBV(), QPatternist::AndExpression::evaluateEBV(), QPatternist::QuantifiedExpression::evaluateEBV(), QPatternist::LetClause::evaluateEBV(), QPatternist::GeneralComparison::evaluateEBV(), QPatternist::CombineNodes::evaluateEBV(), QPatternist::RangeExpression::evaluateSequence(), QPatternist::LetClause::evaluateSequence(), QPatternist::CombineNodes::evaluateSequence(), QPatternist::AttributeConstructor::evaluateSingleton(), QPatternist::ElementConstructor::evaluateSingleton(), QPatternist::ArithmeticExpression::evaluateSingleton(), QPatternist::ValueComparison::evaluateSingleton(), QPatternist::LetClause::evaluateSingleton(), QPatternist::Path::evaluateSingleton(), QPatternist::UnaryExpression::evaluateSingleton(), QPatternist::ComputedNamespaceConstructor::evaluateToSequenceReceiver(), QPatternist::AttributeConstructor::evaluateToSequenceReceiver(), QPatternist::ElementConstructor::evaluateToSequenceReceiver(), QPatternist::ForClause::evaluateToSequenceReceiver(), QPatternist::LetClause::evaluateToSequenceReceiver(), QPatternist::Path::evaluateToSequenceReceiver(), QPatternist::TruthPredicate::map(), QPatternist::TruthPredicate::mapToItem(), QPatternist::ForClause::mapToItem(), QPatternist::GenericPredicate::mapToItem(), QPatternist::ForClause::mapToSequence(), QPatternist::Path::mapToSequence(), operands(), PairContainer(), QPatternist::Path::properties(), setOperands(), QPatternist::ArithmeticExpression::staticType(), QPatternist::ForClause::staticType(), QPatternist::CombineNodes::staticType(), QPatternist::RangeExpression::staticType(), QPatternist::ValueComparison::staticType(), QPatternist::LetClause::staticType(), QPatternist::NodeComparison::staticType(), QPatternist::Path::staticType(), QPatternist::ValueComparison::typeCheck(), QPatternist::GeneralComparison::typeCheck(), QPatternist::LetClause::typeCheck(), QPatternist::ArithmeticExpression::typeCheck(), QPatternist::CombineNodes::typeCheck(), QPatternist::ElementConstructor::typeCheck(), and QPatternist::Path::typeCheck().