![]() |
ArkScript
A small, fast, functional and scripting language for video games
|
A type definition within a contract. More...
#include <TypeChecker.hpp>
Public Member Functions | |
Typedef (const std::string_view &type_name, const ValueType type, const bool is_variadic=false) | |
Typedef (const std::string_view &type_name, const std::vector< ValueType > &type_list, const bool is_variadic=false) | |
Public Attributes | |
std::string_view | name |
std::vector< ValueType > | types |
bool | variadic |
A type definition within a contract.
Definition at line 63 of file TypeChecker.hpp.
|
inline |
Definition at line 69 of file TypeChecker.hpp.
|
inline |
Definition at line 73 of file TypeChecker.hpp.
std::string_view Ark::types::Typedef::name |
Definition at line 65 of file TypeChecker.hpp.
Referenced by Ark::types::displayContract().
std::vector<ValueType> Ark::types::Typedef::types |
Definition at line 66 of file TypeChecker.hpp.
Referenced by Ark::types::displayContract().
bool Ark::types::Typedef::variadic |
Definition at line 67 of file TypeChecker.hpp.
Referenced by Ark::types::displayContract().