#pragma once #include "ast_basic.h" #include "ast_gen.h" #include "libsyntax.h" #include "libtokens.h" #include namespace example_novel { class LIBSYNTAX_EXPORT NovalSyntax { public: /** * @brief 获取novel语法解析树 * @return */ static std::shared_ptr getSyntaxTree(); // static std::shared_ptr tidy(std::shared_ptr root, QList> docs); //private: // static void build_objecttree(std::shared_ptr root, QList> docs); // static void node_register(std::shared_ptr root, QList> docs); }; } // namespace example_novel