From 9802f0b500fd753b49b1785edbe204d46aac4b3d Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Wed, 15 May 2024 12:22:06 -0400 Subject: Expose dataloader includes Fix dataloader file includes Fix leaking lexy includes --- include/openvic-dataloader/v2script/AbstractSyntaxTree.hpp | 14 -------------- include/openvic-dataloader/v2script/Parser.hpp | 1 + 2 files changed, 1 insertion(+), 14 deletions(-) (limited to 'include') diff --git a/include/openvic-dataloader/v2script/AbstractSyntaxTree.hpp b/include/openvic-dataloader/v2script/AbstractSyntaxTree.hpp index 1e7b2c3..27dbfcb 100644 --- a/include/openvic-dataloader/v2script/AbstractSyntaxTree.hpp +++ b/include/openvic-dataloader/v2script/AbstractSyntaxTree.hpp @@ -6,7 +6,6 @@ #include #include #include -#include #include #include @@ -184,17 +183,4 @@ namespace ovdl::v2script::ast { private: Node* _last_node; }; - - using File = ovdl::BasicFile; - struct AbstractSyntaxTree : ovdl::BasicAbstractSyntaxTree { - using BasicAbstractSyntaxTree::BasicAbstractSyntaxTree; - - std::string make_list_visualizer() const; - std::string make_native_visualizer() const; - }; - using ParseState = ovdl::ParseState; - - static_assert(IsFile, "File failed IsFile concept"); - static_assert(IsAst, "AbstractSyntaxTree failed IsAst concept"); - static_assert(IsParseState, "ParseState failed IsParseState concept"); } \ No newline at end of file diff --git a/include/openvic-dataloader/v2script/Parser.hpp b/include/openvic-dataloader/v2script/Parser.hpp index ea42aa2..f9f0ce8 100644 --- a/include/openvic-dataloader/v2script/Parser.hpp +++ b/include/openvic-dataloader/v2script/Parser.hpp @@ -11,6 +11,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3-56-ga3b1