Go to the source code of this file.
◆ foreach_vlib_lex_global_token
#define foreach_vlib_lex_global_token |
Value:_ (invalid) \
_ (eof) \
_ (number) \
_ (lt) \
_ (gt) \
_ (dot) \
_ (slash) \
_ (qmark) \
_ (equals) \
_ (plus) \
_ (minus) \
_ (star) \
_ (lpar) \
_ (rpar)
Definition at line 23 of file lex.h.
◆ vlib_lex_action_t
Enumerator |
---|
VLIB_LEX_IGNORE | |
VLIB_LEX_ADD_TO_TOKEN | |
VLIB_LEX_RETURN | |
VLIB_LEX_RETURN_AND_RESCAN | |
VLIB_LEX_KEYWORD_CHECK | |
VLIB_LEX_START_NUMBER | |
VLIB_LEX_ADD_TO_NUMBER | |
Definition at line 47 of file lex.h.
◆ vlib_lex_global_token_t
Enumerator |
---|
foreach_vlib_lex_global_token | |
Definition at line 40 of file lex.h.
◆ vlib_lex_add_table()
u16 vlib_lex_add_table |
( |
char * |
name | ) |
|
◆ vlib_lex_add_token()
◆ vlib_lex_cleanup_token()
◆ vlib_lex_get_token()
Definition at line 36 of file lex.c.
◆ vlib_lex_reset()
◆ vlib_lex_set_action_range()
void vlib_lex_set_action_range |
( |
u32 |
table_index, |
|
|
u8 |
lo, |
|
|
u8 |
hi, |
|
|
u16 |
action, |
|
|
u16 |
token, |
|
|
u32 |
next_table_index |
|
) |
| |
◆ format_vlib_lex_token
◆ vlib_lex_main
Definition at line 18 of file lex.c.