Lexical Analyzer v0.1.0
 
Loading...
Searching...
No Matches
lexer_validation.h File Reference
#include "lexer_io.h"

Go to the source code of this file.

Macros

#define min(x, y)
 
#define max(x, y)
 

Functions

bool chk_keywd (const char *const value)
 Checks if the given value is a C programming language keyword.
 
bool chk_oprtr (const char *const value)
 Checks if the given value is a valid C operator.
 
bool chk_sprtr (const char value)
 Checks if the given character is a valid separator.
 
bool chk_punct (const char *const value)
 Checks if the given value is a punctuation character.
 
bool chk_numlt (const char *const value)
 Checks if the given value is a valid numerical literal.
 
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_strlt (const char *const value)
 Checks if the given value is a valid string literal.
 
bool chk_idnfr (const char *const value)
 Checks if the given value is a valid identifier.
 
bool chk_prpop (const char *const value)
 Checks if the given value is a preprocessor directive.