8 #ifndef DOXYGEN_SHOULD_SKIP_THIS 10 # include <grantlee/filter.h> 11 # include <grantlee/node.h> 12 # include <grantlee/safestring.h> 13 # include <grantlee/util.h> 15 class UriForTag final :
public Grantlee::AbstractNodeFactory
17 Grantlee::Node *getNode(
const QString &tagContent, Grantlee::Parser *p)
const override;
20 class UriFor final :
public Grantlee::Node
24 explicit UriFor(
const QString &path,
26 Grantlee::Parser *parser =
nullptr);
28 void render(Grantlee::OutputStream *stream, Grantlee::Context *gc)
const override;
31 mutable QString m_cutelystContext = QStringLiteral(
"c");
32 Grantlee::FilterExpression m_path;
33 std::vector<Grantlee::FilterExpression> m_argsExpressions;
34 std::vector<Grantlee::FilterExpression> m_queryExpressions;