added basic documentation/boilerplate up till ARC_Lexer for the standard library documentation
This commit is contained in:
parent
d109bc5152
commit
442f74b195
6 changed files with 23 additions and 12 deletions
|
|
@ -243,6 +243,7 @@ ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchStringRule(uint32_t id
|
|||
ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(uint32_t id, ARC_String *string);
|
||||
|
||||
/**
|
||||
* @{
|
||||
* @brief basic tokens
|
||||
*/
|
||||
#define ARC_LEXER_TOKEN_NULL 0
|
||||
|
|
@ -250,8 +251,12 @@ ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(uint3
|
|||
#define ARC_LEXER_TOKEN_ALPHA_LOWER_CHAR 2
|
||||
#define ARC_LEXER_TOKEN_ALPHA_UPPER_CHAR 3
|
||||
#define ARC_LEXER_TOKEN_WHITESPACE 4
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @{
|
||||
* @brief basic token type ids, chars, and tags
|
||||
*/
|
||||
#define ARC_LEXER_TOKEN_NEWLINE_ID 5
|
||||
|
|
@ -298,6 +303,9 @@ ARC_LexerTokenRule ARC_LexerTokenRule_CreateAndReturnMatchCharInStringRule(uint3
|
|||
#define ARC_LEXER_TOKEN_PERCENT_ID 19
|
||||
#define ARC_LEXER_TOKEN_PERCENT_CHAR '%'
|
||||
#define ARC_LEXER_TOKEN_PERCENT_TAG "PERCENT"
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief adds a bunch of basic token rules (matching the BasicTokens above)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue