2024-03-17 07:58:28 +00:00
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "ast_basic.h"
|
2024-06-18 03:54:36 +00:00
|
|
|
|
#include "ast_gen.h"
|
2024-03-17 07:58:28 +00:00
|
|
|
|
#include "libsyntax.h"
|
2025-02-02 12:54:32 +00:00
|
|
|
|
#include "libtokens.h"
|
2024-03-17 07:58:28 +00:00
|
|
|
|
#include <tokens_novel.h>
|
|
|
|
|
|
|
|
|
|
namespace example_novel {
|
2025-02-07 15:26:20 +00:00
|
|
|
|
//class LIBSYNTAX_EXPORT NovalSyntax {
|
|
|
|
|
//public:
|
|
|
|
|
// /**
|
|
|
|
|
// * @brief <20><>ȡnovel<65><EFBFBD><EFB7A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
// * @return
|
|
|
|
|
// */
|
|
|
|
|
// static std::shared_ptr<const ExprRule> getParseTree();
|
2024-03-17 07:58:28 +00:00
|
|
|
|
|
2025-02-07 15:26:20 +00:00
|
|
|
|
// static std::shared_ptr<const ast_gen::SyntaxElement> tidy(std::shared_ptr<ast_gen::SyntaxElement> root, QList<std::shared_ptr<ast_gen::SyntaxElement>> docs);
|
2024-06-18 03:54:36 +00:00
|
|
|
|
|
2025-02-07 15:26:20 +00:00
|
|
|
|
//private:
|
|
|
|
|
// static void build_objecttree(std::shared_ptr<ast_gen::SyntaxElement> root, QList<std::shared_ptr<ast_gen::SyntaxElement>> docs);
|
|
|
|
|
// static void node_register(std::shared_ptr<const ast_gen::SyntaxElement> root, QList<std::shared_ptr<ast_gen::SyntaxElement>> docs);
|
|
|
|
|
//};
|
2024-03-17 07:58:28 +00:00
|
|
|
|
|
|
|
|
|
} // namespace example_novel
|