This commit is contained in:
Li Haokun
2021-09-10 19:13:42 +08:00
committed by GitHub
parent 87d5740125
commit 5ed1b63143
3 changed files with 141 additions and 93 deletions
+7 -1
View File
@@ -71,9 +71,15 @@ public:
void set_num(double n){num=n;}
int get_line(){return line;}
int get_type(){return type;}
double get_num(){return num;}
double get_num() {return num;}
std::string& get_str(){return str;}
std::vector<nasal_ast>& get_children(){return children;}
int get_line() const {return line;}
int get_type() const {return type;}
double get_num() const {return num;}
const std::string& get_str() const {return str;}
const std::vector<nasal_ast>& get_children() const {return children;}
};
nasal_ast::nasal_ast(const nasal_ast& tmp)