![]() |
|
Uniot Core
|
| 0.8.1 |
Utility class for working with Lisp objects in C++. More...
#include <LispHelper.h>
Public Types | |
| enum | Type : uint8_t { Unknown = 0 , Int = 1 , Bool = 2 , BoolInt = 3 , Symbol = 4 , Cell = 5 , Any = 6 } |
| Enumeration of supported Lisp data types. More... | |
Static Public Member Functions | |
| static bool | correct (Lisp::Type type) |
| Checks if a type value is within the valid range. | |
| static const char * | str (Lisp::Type type) |
| Converts a type enumeration value to a human-readable string. | |
| static Lisp::Type | getType (lisp::Object obj) |
| Determines the Lisp::Type of a given Lisp object. | |
Utility class for working with Lisp objects in C++.
Provides type definitions and helper methods for interacting with and identifying Lisp object types in a type-safe manner.
| enum uniot::Lisp::Type : uint8_t |
Enumeration of supported Lisp data types.
|
inlinestatic |
|
inlinestatic |
Determines the Lisp::Type of a given Lisp object.
| obj | The Lisp object to analyze. |
| type | The corresponding Lisp::Type value. |
|
inlinestatic |
Converts a type enumeration value to a human-readable string.
| type | The type to convert to string. |
| type | String representation of the type |