21#ifndef CUTELEE_PARSER_H
22#define CUTELEE_PARSER_H
28#include <QtCore/QStringList>
91 std::shared_ptr<Filter> getFilter(
const QString &name)
const;
97 void skipPast(
const QString &tag);
107 Token takeNextToken();
112 bool hasNextToken()
const;
117 void removeNextToken();
119 void invalidBlockTag(
const Token &token,
const QString &command,
128 void loadLib(
const QString &name);
136 void prependToken(
const Token &token);
139 Q_DECLARE_PRIVATE(Parser)
140 ParserPrivate *
const d_ptr;
A list of Nodes with some convenience API for rendering them.
Base class for all nodes.
NodeList parse(TemplateImpl *parent, const QStringList &stopAt={})
NodeList parse(Node *parent, const QStringList &stopAt={})
Parser(const QList< Token > &tokenList, QObject *parent)
The Cutelee namespace holds all public Cutelee API.
QObject * parent() const const