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.

14 lines
273 B

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