![]() |
ArkScript
A small, fast, functional and scripting language for video games
|
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 37 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 40 of file ValTableElem.hpp.
std::variant<double, std::string, std::size_t> Ark::internal::ValTableElem::value |
Definition at line 39 of file ValTableElem.hpp.