TYPESET macro defines a list of types.
These macros are used to declare/define various Generic Data Types, Traits, and Generic Macros in the library implementation.
- TYPESET(ALL)
-
int,size_t,TYPESET(PRIMITIVE) - TYPESET(PRIMITIVE)
-
None,bool,char,String,TYPESET(STD_INT) - TYPESET(STD_INT)
-
int8_t,int16_t,int32_t,int64_t,uint8_t,uint16_t,uint32_t,uint64_t
- None
-
a type that represents a value of nothing.
Nonetype is mainly used instead ofvoidas return type of some parsers that have no meaningful return value.- NONE
-
a value of
Nonetype. - isNONE(x)
-
macro that returns
trueifxwas aNonevalue.
- bool
-
a boolean (
trueorfalse) - char
- a 8-bit character
- String
-
a string. - type alias to
char*(i.e. typedef) - int
-
an integer.
- NOTE :
intis not a member ofTYPESET(PRIMITIVE)norTYPESET(STD_INT), since it may be a type alias to other standard integer type.
- NOTE :
- size_t
-
an unsigned integer, which is used to represent size of an object.
- NOTE :
size_tis not a member ofTYPESET(PRIMITIVE)norTYPESET(STD_INT), since it may be a type alias to other standard integer type.
- NOTE :
- int8_t
- an 8-bit integer
- int16_t
- a 16-bit integer
- int32_t
- a 32-bit integer
- int64_t
- a 64-bit integer
- uint8_t
- an 8-bit unsigned integer
- uint16_t
- a 16-bit unsigned integer
- uint32_t
- a 32-bit unsigned integer
- uint64_t
- a 64-bit unsigned integer