![]() |
ArkScript
A small, lisp-inspired, functional scripting language
|
A Compiler Value class helper to handle multiple types. More...
#include <ValTableElem.hpp>
Public Member Functions | |
| ValTableElem (const Node &node) noexcept | |
| ValTableElem (std::size_t page) noexcept | |
| bool | operator== (const ValTableElem &A) const noexcept |
Public Attributes | |
| std::variant< double, std::string, std::size_t > | value |
| ValTableElemType | type |
A Compiler Value class helper to handle multiple types.
Definition at line 36 of file ValTableElem.hpp.
|
explicitnoexcept |
Definition at line 5 of file ValTableElem.cpp.
References Ark::internal::Number, and Ark::internal::String.
|
explicitnoexcept |
Definition at line 19 of file ValTableElem.cpp.
|
noexcept |
Definition at line 24 of file ValTableElem.cpp.
| ValTableElemType Ark::internal::ValTableElem::type |
Definition at line 39 of file ValTableElem.hpp.
| std::variant<double, std::string, std::size_t> Ark::internal::ValTableElem::value |
Definition at line 38 of file ValTableElem.hpp.