1 /* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * 4 * HDF is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #include "ast/ast_node.h" 10 11 namespace OHOS { 12 namespace HDI { ~ASTNode()13ASTNode::~ASTNode() 14 {} 15 ToString()16String ASTNode::ToString() 17 { 18 return "ASTNode"; 19 } 20 Dump(const String & prefix)21String ASTNode::Dump(const String& prefix) 22 { 23 return prefix + "ASTNode"; 24 } 25 } // namespace HDI 26 } // namespace OHOS