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

An entity in the IR is a bundle of information. More...

#include <cinttypes>
#include <vector>
#include <Ark/Compiler/Word.hpp>
#include <Ark/Compiler/Instructions.hpp>
Include dependency graph for Entity.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Ark::internal::IR::Entity
 

Namespaces

namespace  Ark
 
namespace  Ark::internal
 
namespace  Ark::internal::IR
 

Typedefs

using Ark::internal::IR::label_t = std::size_t
 
using Ark::internal::IR::Block = std::vector<Entity>
 

Enumerations

enum class  Ark::internal::IR::Kind {
  Ark::internal::IR::Label , Ark::internal::IR::Goto , Ark::internal::IR::GotoIfTrue , Ark::internal::IR::GotoIfFalse ,
  Ark::internal::IR::Opcode , Ark::internal::IR::Opcode2Args
}
 

Variables

constexpr uint16_t Ark::internal::IR::MaxValueForDualArg = 0x0fff
 The maximum value an argument can have when an IR entity has two arguments.
 

Detailed Description

An entity in the IR is a bundle of information.

Author
Alexandre Plateau (lexpl.nosp@m.t.de.nosp@m.v@gma.nosp@m.il.c.nosp@m.om)
Version
1.0
Date
2024-10-05

Definition in file Entity.hpp.