ArkScript
A small, fast, functional and scripting language for video games
Module.hpp
Go to the documentation of this file.
1
#ifndef ARK_MODULE_HPP
2
#define ARK_MODULE_HPP
3
4
#include <
Ark/Compiler/AST/Node.hpp
>
5
6
namespace
Ark::internal
7
{
8
// TODO store something better than just the AST (AST+what we are importing as private/public/namespaced... vs all)
9
// so that we can remember the order in which we encountered imports.
10
struct
Module
11
{
12
Node
ast
;
13
bool
has_been_processed
=
false
;
// TODO document this
14
};
15
}
16
17
#endif
// ARK_MODULE_HPP
Node.hpp
AST node used by the parser, optimizer and compiler.
Ark::internal::Node
A node of an Abstract Syntax Tree for ArkScript.
Definition
Node.hpp:30
Ark::internal
Definition
Builtins.hpp:26
Ark::internal::Module
Definition
Module.hpp:11
Ark::internal::Module::ast
Node ast
Definition
Module.hpp:12
Ark::internal::Module::has_been_processed
bool has_been_processed
Definition
Module.hpp:13
include
Ark
Compiler
Package
Module.hpp
Generated on Sat Oct 12 2024 14:46:45 for ArkScript by
1.12.0