15#include <libxml/parser.h>
std::unique_ptr< LibXmlTreeWalker > m_pXmlTreeWalker
BasicCodeTagger(xmlDocPtr rootDoc)
void tagBasCodeParagraphs()
Extracts Basic Codes contained in <bascode> tags.
std::vector< xmlNodePtr > m_BasicCodeContainerTags
static xmlChar * getTypeString(TokenType tokenType)
Converts SyntaxHighlighter's TokenTypes enum to a type string for
void getBasicCodeContainerNodes()
Gathers all the <bascode> tag nodes from xml tree.
void tagBasicCodes()
Manages tagging process.
SyntaxHighlighter m_Highlighter
void tagParagraph(xmlNodePtr paragraph)
Used by tagBasCodeParagraphs(). It does the work on the current paragraph containing Basic code.
xmlNodePtr m_pCurrentNode
LibXmlTreeWalker(xmlDocPtr doc)
Queue for breath-first search.
void ignoreCurrNodesChildren()
std::deque< xmlNodePtr > m_Queue