程序代写 #ifndef PARSETREE_H

#ifndef PARSETREE_H
#define PARSETREE_H

#include

Copyright By PowCoder代写 加微信 powcoder

#include

class ParseTree {
std::string type;
std::string value;
std::vector children;

ParseTree(std::string type, std::string value);

void addChild(ParseTree* child);

std::vector getChildren();

std::string getType();

std::string getValue();

std::string tostring();

std::string tostring(int depth);

#endif /*PARSETREE_H*/

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com