You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
343 B

#ifndef HTMLPARSER_H
#define HTMLPARSER_H
#include "Node.h"
#include "TagNode.h"
#include <string>
void printNode(const std::shared_ptr<Node> node, const int indent);
class HTMLParser {
public:
std::shared_ptr<Node> parse(const std::string &html) const;
void parseTag(const std::string &element, TagNode &tagNode) const;
};
#endif