#include "policy/lexleo_cstd_types.h"
Go to the source code of this file.
Data Structures | |
| struct | lexleo_token_t |
Typedefs | |
| typedef enum lexleo_token_kind_t | lexleo_token_kind_t |
| typedef struct lexleo_token_t | lexleo_token_t |
Enumerations | |
| enum | lexleo_token_kind_t { LEX_TK_INVALID = 0 , LEX_TK_LBRACE , LEX_TK_RBRACE , LEX_TK_LPAREN , LEX_TK_RPAREN , LEX_TK_ADD , LEX_TK_SUBTRACT , LEX_TK_MULTIPLY , LEX_TK_DIVIDE , LEX_TK_SEMICOLON , LEX_TK_COMMA , LEX_TK_EQUAL , LEX_TK_READ , LEX_TK_WRITE , LEX_TK_DEFINE , LEX_TK_CALL , LEX_TK_QUOTE , LEX_TK_EVAL , LEX_TK_SYMBOL , LEX_TK_SET , LEX_TK_IF , LEX_TK_THEN , LEX_TK_ELSE , LEX_TK_WHILE , LEX_TK_DO , LEX_TK_INTEGER , LEX_TK_STRING , LEX_TK_SYMBOL_NAME , LEX_TK_EOF } |
| typedef enum lexleo_token_kind_t lexleo_token_kind_t |
Kind of lexical token produced by a lexer backend (Flex, etc.).
This enum is backend-agnostic and parser-agnostic. It represents the lexical contract of the language.
| typedef struct lexleo_token_t lexleo_token_t |
Lexical token.
Ownership rules:
| enum lexleo_token_kind_t |
Kind of lexical token produced by a lexer backend (Flex, etc.).
This enum is backend-agnostic and parser-agnostic. It represents the lexical contract of the language.
Definition at line 14 of file lexleo_token.h.