remove accessors in UDQDefine added for external serialization
This commit is contained in:
@@ -67,7 +67,6 @@ public:
|
||||
const std::string& input_string() const;
|
||||
UDQVarType var_type() const;
|
||||
std::set<UDQTokenType> func_tokens() const;
|
||||
std::shared_ptr<UDQASTNode> getAst() const;
|
||||
|
||||
bool operator==(const UDQDefine& data) const;
|
||||
|
||||
|
||||
@@ -233,10 +233,6 @@ std::set<UDQTokenType> UDQDefine::func_tokens() const {
|
||||
return this->ast->func_tokens();
|
||||
}
|
||||
|
||||
std::shared_ptr<UDQASTNode> UDQDefine::getAst() const {
|
||||
return this->ast;
|
||||
}
|
||||
|
||||
bool UDQDefine::operator==(const UDQDefine& data) const {
|
||||
if ((ast && !data.ast) || (!ast && data.ast))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user