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 #ifndef OHOS_HDI_ASTNODE_H 10 #define OHOS_HDI_ASTNODE_H 11 12 #include "util/light_refcount_base.h" 13 #include "util/string.h" 14 #include "util/common.h" 15 16 namespace OHOS { 17 namespace HDI { 18 class ASTNode : public LightRefCountBase { 19 public: 20 virtual ~ASTNode(); 21 22 virtual String ToString(); 23 24 virtual String Dump(const String& prefix); 25 }; 26 } // namespace HDI 27 } // namespace OHOS 28 29 #endif // OHOS_HDI_ASTNODE_H