![]() |
ArkScript
A small, lisp-inspired, functional scripting language
|
Default value type handled by the virtual machine. More...
#include <vector>
#include <variant>
#include <string>
#include <cinttypes>
#include <array>
#include <memory>
#include <type_traits>
#include <Ark/VM/Value/Closure.hpp>
#include <Ark/VM/Value/UserType.hpp>
#include <Ark/VM/Value/Procedure.hpp>
#include <Ark/Utils/Platform.hpp>
Go to the source code of this file.
Classes | |
struct | std::hash< Ark::ValueType > |
class | Ark::Value |
struct | std::hash< std::vector< Ark::Value > > |
struct | std::hash< std::shared_ptr< Ark::Value::Dict_t > > |
struct | std::hash< Ark::Value > |
Namespaces | |
namespace | Ark |
namespace | Ark::internal |
namespace | std |
STL namespace. | |
Enumerations | |
enum class | Ark::ValueType : unsigned { Ark::List = 0 , Ark::Number = 1 , Ark::String = 2 , Ark::PageAddr = 3 , Ark::CProc = 4 , Ark::Closure = 5 , Ark::User = 6 , Ark::Dict = 7 , Ark::Nil = 8 , Ark::True = 9 , Ark::False = 10 , Ark::Undefined = 11 , Ark::Reference = 12 , Ark::InstPtr = 13 , Ark::Any = 14 } |
Functions | |
bool | Ark::operator< (const Value &A, const Value &B) |
bool | Ark::operator!= (const Value &A, const Value &B) noexcept |
bool | Ark::operator! (const Value &A) |
std::string | std::to_string (const Ark::ValueType type) noexcept |
Variables | |
constexpr std::array | Ark::types_to_str |
Default value type handled by the virtual machine.
Definition in file Value.hpp.