This commit is contained in:
codeboss 2025-02-12 15:40:35 +08:00
parent cab9153783
commit b2d221f9ff
1 changed files with 4 additions and 4 deletions

View File

@ -177,6 +177,10 @@ public:
}; };
std::shared_ptr<const lib_syntax::ExprRule> example_novel::NovalSyntax::getSyntaxTree() {
return std::make_shared<DocumentSyntax>();
}
//std::shared_ptr<const ast_gen::SyntaxElement> NovalSyntax::tidy(std::shared_ptr<ast_gen::SyntaxElement> root, QList<std::shared_ptr<ast_gen::SyntaxElement>> children) //std::shared_ptr<const ast_gen::SyntaxElement> NovalSyntax::tidy(std::shared_ptr<ast_gen::SyntaxElement> root, QList<std::shared_ptr<ast_gen::SyntaxElement>> children)
@ -218,7 +222,3 @@ public:
// node_register(child, next_child_items); // node_register(child, next_child_items);
// } // }
//} //}
std::shared_ptr<const lib_syntax::ExprRule> example_novel::NovalSyntax::getSyntaxTree() {
return std::shared_ptr<DocumentSyntax>();
}