1#ifndef LEXER_VALIDATION_H
2#define LEXER_VALIDATION_H
27#define min(x, y) ((x) < (y) ? (x) : (y))
28#define max(x, y) ((x) > (y) ? (x) : (y))
bool chk_idnfr(const char *const value)
Checks if the given value is a valid identifier.
bool chk_punct(const char *const value)
Checks if the given value is a punctuation character.
bool chk_flolt(const char *const value)
Checks if the given value is a valid floating-point literal.
bool chk_chrlt(const char *const value)
Checks if the given value is a valid character literal.
bool chk_sprtr(const char value)
Checks if the given character is a valid separator.
bool chk_keywd(const char *const value)
Checks if the given value is a C programming language keyword.
bool chk_strlt(const char *const value)
Checks if the given value is a valid string literal.
bool chk_prpop(const char *const value)
Checks if the given value is a preprocessor directive.
bool chk_numlt(const char *const value)
Checks if the given value is a valid numerical literal.
bool chk_oprtr(const char *const value)
Checks if the given value is a valid C operator.