aboutsummaryrefslogtreecommitdiff
path: root/include/openvic-dataloader
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2024-05-15 21:36:02 +0200
committer GitHub <noreply@github.com>2024-05-15 21:36:02 +0200
commit7b521d6023113372cf6b02e562828273c4040f0e (patch)
tree7bd53754f6294a11f81774593aa15cf43b3dc26e /include/openvic-dataloader
parenta5a6ff376cf0ff8fa48fcd750c16395b099223a4 (diff)
parent9802f0b500fd753b49b1785edbe204d46aac4b3d (diff)
Merge pull request #45 from OpenVicProject/fix/includes
Expose dataloader includes
Diffstat (limited to 'include/openvic-dataloader')
-rw-r--r--include/openvic-dataloader/v2script/AbstractSyntaxTree.hpp14
-rw-r--r--include/openvic-dataloader/v2script/Parser.hpp1
2 files changed, 1 insertions, 14 deletions
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 <openvic-dataloader/AbstractSyntaxTree.hpp>
#include <openvic-dataloader/File.hpp>
#include <openvic-dataloader/NodeLocation.hpp>
-#include <openvic-dataloader/ParseState.hpp>
#include <openvic-dataloader/detail/LexyFwdDeclaration.hpp>
#include <dryad/_detail/assert.hpp>
@@ -184,17 +183,4 @@ namespace ovdl::v2script::ast {
private:
Node* _last_node;
};
-
- using File = ovdl::BasicFile<lexy::default_encoding, Node>;
- struct AbstractSyntaxTree : ovdl::BasicAbstractSyntaxTree<File, FileTree> {
- using BasicAbstractSyntaxTree::BasicAbstractSyntaxTree;
-
- std::string make_list_visualizer() const;
- std::string make_native_visualizer() const;
- };
- using ParseState = ovdl::ParseState<AbstractSyntaxTree>;
-
- static_assert(IsFile<ast::File>, "File failed IsFile concept");
- static_assert(IsAst<ast::AbstractSyntaxTree>, "AbstractSyntaxTree failed IsAst concept");
- static_assert(IsParseState<ast::ParseState>, "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 <openvic-dataloader/NodeLocation.hpp>
#include <openvic-dataloader/Parser.hpp>
#include <openvic-dataloader/detail/utility/Concepts.hpp>
+#include <openvic-dataloader/detail/utility/ErrorRange.hpp>
#include <openvic-dataloader/v2script/AbstractSyntaxTree.hpp>
#include <dryad/node.hpp>