blob: 954e39dc424d5394f47427f399b912a98892eac7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include <openvic-dataloader/v2script/AbstractSyntaxTree.hpp>
#include <lexy/encoding.hpp>
#include "../openvic-dataloader/ParseState.hpp"
#include "AbstractSyntaxTree.hpp"
#include "File.hpp"
#include "detail/InternalConcepts.hpp"
namespace ovdl::v2script::ast {
struct FileAbstractSyntaxTree : ovdl::BasicAbstractSyntaxTree<ovdl::BasicFile<Node>, FileTree> {
using ovdl::BasicAbstractSyntaxTree<ovdl::BasicFile<Node>, FileTree>::BasicAbstractSyntaxTree;
std::string make_list_visualizer() const;
std::string make_native_visualizer() const;
};
using ParseState = ovdl::ParseState<FileAbstractSyntaxTree>;
static_assert(detail::IsParseState<ast::ParseState>, "ParseState failed IsParseState concept");
}
|