Go to the source code of this file.
Typedefs | |
typedef unsigned char | ellipsis‿category‿base |
typedef enum ellipsis‿category | ellipsis‿category |
Enumerations | |
enum | : size_t { ellipsis‿category‿max_intern = 28 } |
enum | ellipsis‿category : ellipsis‿category‿base { none , character , comment , code , codeblock , directive , macro , removed , frozen , keyword , nominal , numeral , parameter , stringifier , exp_signed , exp_unsigned , string , verbatim , binary , base64 , punctuator , peek , keep , paragraph , item , special } |
An enumeration type ellipsis‿category with the underlying integer type ellipsis‿category‿base . More... | |
Functions | |
char const * | ellipsis‿category‿getname (size_t __LOC_ID_0_1) |
Return the name of the enumeration constant of type ellipsis‿category at position n , if any. | |
bool | ellipsis‿category‿is_multiline (ellipsis‿category v) |
True, if v is possibly a multi-line construct. | |
Variables | |
char const *const *const | ellipsis‿category‿names |
An array with the names of the constants of type ellipsis‿category . | |
static char const *const | ellipsis‿category‿namesbuf_intern [ellipsis‿category‿max_intern] |
constexpr size_t | ellipsis‿category‿width = 5 |
This implements an enumeration that categorizes tokens in any way as eĿlipsis needs it. Some of these are just used internally.
typedef unsigned char ellipsis‿category‿base |
typedef enum ellipsis‿category ellipsis‿category |
An enumeration type ellipsis‿category
with the underlying integer type ellipsis‿category‿base
.
|
inline |
Return the name of the enumeration constant of type ellipsis‿category
at position n
, if any.
Beware that this is not necessarily the value of the enumeration constant.
References ellipsis‿category‿max_intern, and ellipsis‿category‿names.
Referenced by ellipsis‿category‿_Once‿init‿user(), ellipsis‿include‿process(), ellipsis‿output‿vrbs(), and ellipsis‿tokenize().
|
inline |
True, if v
is possibly a multi-line construct.
References comment, and verbatim.
Referenced by ellipsis‿filter().
|
extern |
An array with the names of the constants of type ellipsis‿category
.
Referenced by ellipsis‿category‿getname().
|
static |
|
constexpr |