#include <DebugExpressionFactory.h>
Inheritance diagram for KXQTS::DebugExpressionFactory:


Public Types | |
|
typedef Patternist::PlainSharedPtr< DebugExpressionFactory > | Ptr |
Public Member Functions | |
| virtual ASTItem * | astTree () const |
| virtual Patternist::Expression::Ptr | createExpression (const QString &expr, const Patternist::StaticContext::Ptr &context, const LanguageAccent lang, const Patternist::SequenceType::Ptr &requiredType) |
Static Public Member Functions | |
| static QStringList | availableFunctionSignatures () |
Protected Member Functions | |
| virtual void | processTreePass (const Patternist::Expression::Ptr &tree, const CompilationStage stage) |
This tree can be retrieved via astTree(). The astTree() function returns the AST built the last time createExpression() was called.
Definition at line 36 of file DebugExpressionFactory.h.
| ASTItem * DebugExpressionFactory::astTree | ( | ) | const [virtual] |
Definition at line 149 of file DebugExpressionFactory.cpp.
| QStringList DebugExpressionFactory::availableFunctionSignatures | ( | ) | [static] |
Definition at line 32 of file DebugExpressionFactory.cpp.
References KXQTS::Global::namePool(), and Patternist::FunctionFactoryCollection::xpath20Factory().
Referenced by KXQTS::FunctionSignaturesView::FunctionSignaturesView().
Here is the call graph for this function:

Here is the caller graph for this function:

| Patternist::Expression::Ptr DebugExpressionFactory::createExpression | ( | const QString & | expr, | |
| const Patternist::StaticContext::Ptr & | context, | |||
| const LanguageAccent | lang, | |||
| const Patternist::SequenceType::Ptr & | requiredType | |||
| ) | [virtual] |
Identical to ExpressionFactory::createExpression() with the difference that it builds an ASTItem tree which can be accessed via astTree().
Definition at line 99 of file DebugExpressionFactory.cpp.
| void DebugExpressionFactory::processTreePass | ( | const Patternist::Expression::Ptr & | tree, | |
| const CompilationStage | stage | |||
| ) | [protected, virtual] |
Performs the ASTItem tree building.
Definition at line 110 of file DebugExpressionFactory.cpp.
References KXQTS::ASTItem::appendChild().
Here is the call graph for this function:

1.5.1