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 <Ark/Platform.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

const Node & Ark::internal::getTrueNode ()
 
const Node & Ark::internal::getFalseNode ()
 
const Node & Ark::internal::getNilNode ()
 
const Node & Ark::internal::getListNode ()
 
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.4
Date
2020-10-27

Definition in file Node.hpp.