ArkScript
A small, fast, functional and scripting language for video games
Node.hpp File Reference

AST node used by the parser, optimizer and compiler. More...

#include <variant>
#include <ostream>
#include <string>
#include <vector>
#include <Ark/Compiler/Common.hpp>
+ Include dependency graph for Node.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Ark::internal::Node
 A node of an Abstract Syntax Tree for ArkScript. More...
 

Namespaces

namespace  Ark
 
namespace  Ark::internal
 

Functions

std::ostream & Ark::internal::operator<< (std::ostream &os, const std::vector< Node > &N) noexcept
 
template<typename T >
Node Ark::internal::make_node (T &&value, std::size_t line, std::size_t col, const std::string &file)
 
Node Ark::internal::make_node_list (std::size_t line, std::size_t col, const std::string &file)
 
std::string Ark::internal::typeToString (const Node &node) noexcept
 

Detailed Description

AST node used by the parser, optimizer and compiler.

Author
Alexandre Plateau (lexpl.nosp@m.t.de.nosp@m.v@gma.nosp@m.il.c.nosp@m.om)
Version
0.3
Date
2020-10-27

Definition in file Node.hpp.