Cutelee  6.1.0
Public Member Functions | Public Attributes | List of all members
Cutelee::ParserPrivate Class Reference

Public Member Functions

 ParserPrivate (Parser *parser, const QList< Token > &tokenList)
 
NodeList extendNodeList (NodeList list, Node *node)
 
void openLibrary (TagLibraryInterface *library)
 
NodeList parse (QObject *parent, const QStringList &stopAt)
 

Public Attributes

QHash< QString, std::shared_ptr< Filter > > m_filters
 
QHash< QString, AbstractNodeFactory * > m_nodeFactories
 
NodeList m_nodeList
 
QList< Tokenm_tokenList
 
Parser *const q_ptr
 

Detailed Description

Definition at line 37 of file parser.cpp.

Member Function Documentation

◆ parse()

NodeList ParserPrivate::parse ( QObject *  parent,
const QStringList &  stopAt 
)

Parses the template to create a Nodelist. The given parent is the parent of each node in the returned list.

Definition at line 186 of file parser.cpp.

References Cutelee::BlockToken, Cutelee::TextToken, and Cutelee::VariableToken.