Kea 2.7.6
|
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <cctype>
#include <cerrno>
#include <climits>
#include <cstdint>
#include <cstdlib>
#include <string>
#include <netconf/parser_context.h>
#include <asiolink/io_address.h>
#include <boost/lexical_cast.hpp>
#include <exceptions/exceptions.h>
#include <cc/dhcp_config_error.h>
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | yy_buffer_state |
struct | yy_trans_info |
Macros | |
#define | BEGIN (yy_start) = 1 + 2 * |
#define | COMMENT 1 |
#define | DIR_ENTER 2 |
#define | DIR_EXIT 4 |
#define | DIR_INCLUDE 3 |
#define | ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) |
#define | EOB_ACT_CONTINUE_SCAN 0 |
#define | EOB_ACT_END_OF_FILE 1 |
#define | EOB_ACT_LAST_MATCH 2 |
#define | FLEX_DEBUG |
#define | FLEX_SCANNER |
#define | FLEXINT_H |
#define | INITIAL 0 |
#define | INT16_MAX (32767) |
#define | INT16_MIN (-32767-1) |
#define | INT32_MAX (2147483647) |
#define | INT32_MIN (-2147483647-1) |
#define | INT8_MAX (127) |
#define | INT8_MIN (-128) |
#define | netconf__create_buffer_ALREADY_DEFINED |
#define | netconf__delete_buffer_ALREADY_DEFINED |
#define | netconf__flex_debug_ALREADY_DEFINED |
#define | netconf__flush_buffer_ALREADY_DEFINED |
#define | netconf__init_buffer_ALREADY_DEFINED |
#define | netconf__load_buffer_state_ALREADY_DEFINED |
#define | netconf__scan_buffer_ALREADY_DEFINED |
#define | netconf__scan_bytes_ALREADY_DEFINED |
#define | netconf__scan_string_ALREADY_DEFINED |
#define | netconf__switch_to_buffer_ALREADY_DEFINED |
#define | netconf_alloc_ALREADY_DEFINED |
#define | netconf_ensure_buffer_stack_ALREADY_DEFINED |
#define | netconf_free_ALREADY_DEFINED |
#define | netconf_in_ALREADY_DEFINED |
#define | netconf_leng_ALREADY_DEFINED |
#define | netconf_lex_ALREADY_DEFINED |
#define | netconf_lineno_ALREADY_DEFINED |
#define | netconf_out_ALREADY_DEFINED |
#define | netconf_pop_buffer_state_ALREADY_DEFINED |
#define | netconf_push_buffer_state_ALREADY_DEFINED |
#define | netconf_realloc_ALREADY_DEFINED |
#define | netconf_restart_ALREADY_DEFINED |
#define | netconf_text_ALREADY_DEFINED |
#define | netconf_wrap() |
#define | netconf_wrap_ALREADY_DEFINED |
#define | REJECT reject_used_but_not_detected |
#define | SIZE_MAX (~(size_t)0) |
#define | UINT16_MAX (65535U) |
#define | UINT32_MAX (4294967295U) |
#define | UINT8_MAX (255U) |
#define | unput(c) |
#define | YY_AT_BOL() |
#define | YY_BREAK /*LINTED*/break; |
#define | YY_BUF_SIZE 16384 |
#define | YY_BUFFER_EOF_PENDING 2 |
#define | YY_BUFFER_NEW 0 |
#define | YY_BUFFER_NORMAL 1 |
#define | yy_create_buffer netconf__create_buffer |
#define | YY_CURRENT_BUFFER |
#define | YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
#define | YY_DECL int yylex (void) |
#define | YY_DECL_IS_OURS 1 |
#define | yy_delete_buffer netconf__delete_buffer |
#define | YY_DO_BEFORE_ACTION |
#define | YY_END_OF_BUFFER 65 |
#define | YY_END_OF_BUFFER_CHAR 0 |
#define | YY_EXIT_FAILURE 2 |
#define | YY_EXTRA_TYPE void * |
#define | YY_FATAL_ERROR(msg) |
#define | yy_flex_debug netconf__flex_debug |
#define | YY_FLEX_MAJOR_VERSION 2 |
#define | YY_FLEX_MINOR_VERSION 6 |
#define | YY_FLEX_SUBMINOR_VERSION 4 |
#define | YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) |
#define | yy_flush_buffer netconf__flush_buffer |
#define | yy_init_buffer netconf__init_buffer |
#define | YY_INPUT(buf, result, max_size) |
#define | YY_INT_ALIGNED short int |
#define | YY_LESS_LINENO(n) |
#define | YY_LINENO_REWIND_TO(ptr) |
#define | yy_load_buffer_state |
#define | YY_MORE_ADJ 0 |
#define | yy_new_buffer yy_create_buffer |
#define | YY_NEW_FILE yyrestart( yyin ) |
#define | YY_NO_INPUT 1 |
#define | YY_NULL 0 |
#define | YY_NUM_RULES 64 |
#define | YY_READ_BUF_SIZE 8192 |
#define | YY_RESTORE_YY_MORE_OFFSET |
#define | YY_RULE_SETUP YY_USER_ACTION |
#define | YY_SC_TO_UI(c) |
#define | yy_scan_buffer netconf__scan_buffer |
#define | yy_scan_bytes netconf__scan_bytes |
#define | yy_scan_string netconf__scan_string |
#define | yy_set_bol(at_bol) |
#define | yy_set_interactive(is_interactive) |
#define | YY_SKIP_YYWRAP |
#define | YY_START (((yy_start) - 1) / 2) |
#define | YY_START_STACK_INCR 25 |
#define | YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
#define | YY_STATE_EOF(state) |
#define | YY_STRUCT_YY_BUFFER_STATE |
#define | yy_switch_to_buffer netconf__switch_to_buffer |
#define | YY_TYPEDEF_YY_BUFFER_STATE |
#define | YY_TYPEDEF_YY_SIZE_T |
#define | YY_USER_ACTION driver.loc_.columns(yyleng); |
#define | yyalloc netconf_alloc |
#define | yyconst const |
#define | yyensure_buffer_stack |
#define | yyfree netconf_free |
#define | yyget_debug |
#define | yyget_extra |
#define | yyget_in(void) |
Get the input stream. | |
#define | yyget_leng(void) |
Get the length of the current token. | |
#define | yyget_lineno(void) |
Get the current line number. | |
#define | yyget_out(void) |
Get the output stream. | |
#define | yyget_text(void) |
Get the current token. | |
#define | yyin netconf_in |
#define | yyleng netconf_leng |
#define | yyless(n) |
#define | yyless(n) |
#define | yylex |
#define | yylex_destroy |
#define | yylex_init netconf_lex_init |
#define | yylex_init_extra netconf_lex_init_extra |
#define | yylineno netconf_lineno |
#define | yymore() |
#define | yynoreturn |
#define | yyout netconf_out |
#define | yypop_buffer_state(void) |
Removes and deletes the top of the stack, if present. | |
#define | yypush_buffer_state netconf_push_buffer_state |
#define | yyrealloc netconf_realloc |
#define | yyrestart netconf_restart |
#define | yyset_debug netconf_set_debug |
#define | yyset_extra netconf_set_extra |
#define | yyset_in netconf_set_in |
#define | yyset_lineno netconf_set_lineno |
#define | yyset_out netconf_set_out |
#define | YYSTATE YY_START |
#define | YYTABLES_NAME "yytables" |
#define | yyterminate() |
#define | yytext netconf_text |
#define | yytext_ptr yytext |
#define | yywrap netconf_wrap |
#define | yywrap() |
Typedefs | |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
Functions | |
if (!(yy_init)) | |
if (start_token_flag) | |
while (1) | |
YY_BUFFER_STATE | yy_create_buffer (FILE *file, int size) |
Allocate and initialize an input buffer state. | |
void | yy_delete_buffer (YY_BUFFER_STATE b) |
Destroy the buffer. | |
void | yy_flush_buffer (YY_BUFFER_STATE b) |
Discard all buffered characters. | |
YY_BUFFER_STATE | yy_scan_buffer (char *base, yy_size_t size) |
Setup the input buffer state to scan directly from a user-specified character buffer. | |
YY_BUFFER_STATE | yy_scan_bytes (const char *yybytes, int _yybytes_len) |
Setup the input buffer state to scan the given bytes. | |
YY_BUFFER_STATE | yy_scan_string (const char *yystr) |
Setup the input buffer state to scan a string. | |
void | yy_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
Switch to a different input buffer. | |
void * | yyalloc (yy_size_t) |
void | yyfree (void *) |
void | yypush_buffer_state (YY_BUFFER_STATE new_buffer) |
Pushes the new state onto the stack. | |
void * | yyrealloc (void *, yy_size_t) |
void | yyrestart (FILE *input_file) |
Immediately switch to a different input stream. | |
void | yyset_debug (int debug_flag) |
void | yyset_extra (YY_EXTRA_TYPE user_defined) |
void | yyset_in (FILE *_in_str) |
Set the input stream. | |
void | yyset_lineno (int _line_number) |
Set the current line number. | |
void | yyset_out (FILE *_out_str) |
Variables | |
int | yy_act |
char * | yy_bp |
char * | yy_cp |
YY_DECL | |
The main scanner function which does all the work. | |
int | yy_flex_debug = 1 |
FILE * | yyin = NULL |
int | yyleng |
int | yylineno = 1 |
FILE * | yyout = NULL |
char * | yytext |
#define BEGIN (yy_start) = 1 + 2 * |
Definition at line 414 of file netconf_lexer.cc.
Referenced by while().
#define COMMENT 1 |
Definition at line 1552 of file netconf_lexer.cc.
Referenced by while().
#define DIR_ENTER 2 |
Definition at line 1553 of file netconf_lexer.cc.
Referenced by while().
#define DIR_EXIT 4 |
Definition at line 1555 of file netconf_lexer.cc.
Referenced by while().
#define DIR_INCLUDE 3 |
Definition at line 1554 of file netconf_lexer.cc.
Referenced by while().
Definition at line 1677 of file netconf_lexer.cc.
Referenced by while().
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 464 of file netconf_lexer.cc.
Referenced by while().
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 465 of file netconf_lexer.cc.
Referenced by while().
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 466 of file netconf_lexer.cc.
Referenced by while().
#define FLEX_DEBUG |
Definition at line 655 of file netconf_lexer.cc.
#define FLEX_SCANNER |
Definition at line 41 of file netconf_lexer.cc.
#define FLEXINT_H |
Definition at line 311 of file netconf_lexer.cc.
#define INITIAL 0 |
Definition at line 1551 of file netconf_lexer.cc.
Referenced by while().
#define INT16_MAX (32767) |
Definition at line 353 of file netconf_lexer.cc.
#define INT16_MIN (-32767-1) |
Definition at line 344 of file netconf_lexer.cc.
#define INT32_MAX (2147483647) |
Definition at line 356 of file netconf_lexer.cc.
#define INT32_MIN (-2147483647-1) |
Definition at line 347 of file netconf_lexer.cc.
#define INT8_MAX (127) |
Definition at line 350 of file netconf_lexer.cc.
#define INT8_MIN (-128) |
Definition at line 341 of file netconf_lexer.cc.
#define netconf__create_buffer_ALREADY_DEFINED |
Definition at line 54 of file netconf_lexer.cc.
#define netconf__delete_buffer_ALREADY_DEFINED |
Definition at line 60 of file netconf_lexer.cc.
#define netconf__flex_debug_ALREADY_DEFINED |
Definition at line 280 of file netconf_lexer.cc.
#define netconf__flush_buffer_ALREADY_DEFINED |
Definition at line 90 of file netconf_lexer.cc.
#define netconf__init_buffer_ALREADY_DEFINED |
Definition at line 84 of file netconf_lexer.cc.
#define netconf__load_buffer_state_ALREADY_DEFINED |
Definition at line 96 of file netconf_lexer.cc.
#define netconf__scan_buffer_ALREADY_DEFINED |
Definition at line 66 of file netconf_lexer.cc.
#define netconf__scan_bytes_ALREADY_DEFINED |
Definition at line 78 of file netconf_lexer.cc.
#define netconf__scan_string_ALREADY_DEFINED |
Definition at line 72 of file netconf_lexer.cc.
#define netconf__switch_to_buffer_ALREADY_DEFINED |
Definition at line 102 of file netconf_lexer.cc.
#define netconf_alloc_ALREADY_DEFINED |
Definition at line 236 of file netconf_lexer.cc.
#define netconf_ensure_buffer_stack_ALREADY_DEFINED |
Definition at line 120 of file netconf_lexer.cc.
#define netconf_free_ALREADY_DEFINED |
Definition at line 248 of file netconf_lexer.cc.
#define netconf_in_ALREADY_DEFINED |
Definition at line 268 of file netconf_lexer.cc.
#define netconf_leng_ALREADY_DEFINED |
Definition at line 262 of file netconf_lexer.cc.
#define netconf_lex_ALREADY_DEFINED |
Definition at line 126 of file netconf_lexer.cc.
#define netconf_lineno_ALREADY_DEFINED |
Definition at line 286 of file netconf_lexer.cc.
#define netconf_out_ALREADY_DEFINED |
Definition at line 274 of file netconf_lexer.cc.
#define netconf_pop_buffer_state_ALREADY_DEFINED |
Definition at line 114 of file netconf_lexer.cc.
#define netconf_push_buffer_state_ALREADY_DEFINED |
Definition at line 108 of file netconf_lexer.cc.
#define netconf_realloc_ALREADY_DEFINED |
Definition at line 242 of file netconf_lexer.cc.
#define netconf_restart_ALREADY_DEFINED |
Definition at line 132 of file netconf_lexer.cc.
#define netconf_text_ALREADY_DEFINED |
Definition at line 256 of file netconf_lexer.cc.
#define netconf_wrap | ( | ) |
Definition at line 652 of file netconf_lexer.cc.
#define netconf_wrap_ALREADY_DEFINED |
Definition at line 228 of file netconf_lexer.cc.
#define REJECT reject_used_but_not_detected |
Definition at line 1471 of file netconf_lexer.cc.
#define SIZE_MAX (~(size_t)0) |
Definition at line 369 of file netconf_lexer.cc.
#define UINT16_MAX (65535U) |
Definition at line 362 of file netconf_lexer.cc.
#define UINT32_MAX (4294967295U) |
Definition at line 365 of file netconf_lexer.cc.
#define UINT8_MAX (255U) |
Definition at line 359 of file netconf_lexer.cc.
#define unput | ( | c | ) |
Definition at line 484 of file netconf_lexer.cc.
#define YY_AT_BOL | ( | ) |
Definition at line 647 of file netconf_lexer.cc.
#define YY_BREAK /*LINTED*/break; |
Definition at line 1779 of file netconf_lexer.cc.
Referenced by while().
#define YY_BUF_SIZE 16384 |
Definition at line 436 of file netconf_lexer.cc.
Referenced by if(), and yyrestart().
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 551 of file netconf_lexer.cc.
#define YY_BUFFER_NEW 0 |
Definition at line 539 of file netconf_lexer.cc.
Referenced by while(), yy_flush_buffer(), and yy_scan_buffer().
#define YY_BUFFER_NORMAL 1 |
Definition at line 540 of file netconf_lexer.cc.
Referenced by while().
#define yy_create_buffer netconf__create_buffer |
Definition at line 12 of file netconf_lexer.cc.
Referenced by if(), and yyrestart().
#define YY_CURRENT_BUFFER |
Definition at line 575 of file netconf_lexer.cc.
Referenced by if(), while(), yy_delete_buffer(), yy_flush_buffer(), yy_switch_to_buffer(), yypush_buffer_state(), and yyrestart().
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 581 of file netconf_lexer.cc.
Referenced by if(), while(), yy_delete_buffer(), yy_switch_to_buffer(), yypush_buffer_state(), and yyrestart().
#define YY_DECL int yylex (void) |
Definition at line 1764 of file netconf_lexer.cc.
#define YY_DECL_IS_OURS 1 |
Definition at line 1759 of file netconf_lexer.cc.
#define yy_delete_buffer netconf__delete_buffer |
Definition at line 13 of file netconf_lexer.cc.
#define YY_DO_BEFORE_ACTION |
Definition at line 685 of file netconf_lexer.cc.
Referenced by while().
#define YY_END_OF_BUFFER 65 |
Definition at line 695 of file netconf_lexer.cc.
Referenced by while().
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 425 of file netconf_lexer.cc.
Referenced by yy_flush_buffer(), yy_scan_buffer(), and yy_scan_bytes().
#define YY_EXIT_FAILURE 2 |
Definition at line 3640 of file netconf_lexer.cc.
#define YY_EXTRA_TYPE void * |
Definition at line 1570 of file netconf_lexer.cc.
#define YY_FATAL_ERROR | ( | msg | ) |
Definition at line 1521 of file netconf_lexer.cc.
Referenced by while(), yy_create_buffer(), yy_scan_buffer(), and yy_scan_bytes().
#define yy_flex_debug netconf__flex_debug |
Definition at line 24 of file netconf_lexer.cc.
Referenced by while(), and yyset_debug().
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 42 of file netconf_lexer.cc.
#define YY_FLEX_MINOR_VERSION 6 |
Definition at line 43 of file netconf_lexer.cc.
#define YY_FLEX_SUBMINOR_VERSION 4 |
Definition at line 44 of file netconf_lexer.cc.
#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) |
Definition at line 616 of file netconf_lexer.cc.
#define yy_flush_buffer netconf__flush_buffer |
Definition at line 18 of file netconf_lexer.cc.
#define yy_init_buffer netconf__init_buffer |
Definition at line 17 of file netconf_lexer.cc.
Referenced by yy_create_buffer(), and yyrestart().
#define YY_INPUT | ( | buf, | |
result, | |||
max_size ) |
Definition at line 1687 of file netconf_lexer.cc.
#define YY_INT_ALIGNED short int |
Definition at line 5 of file netconf_lexer.cc.
#define YY_LESS_LINENO | ( | n | ) |
Definition at line 468 of file netconf_lexer.cc.
#define YY_LINENO_REWIND_TO | ( | ptr | ) |
Definition at line 469 of file netconf_lexer.cc.
#define yy_load_buffer_state | ( | void | ) |
Definition at line 3284 of file netconf_lexer.cc.
Referenced by if(), yy_flush_buffer(), yy_switch_to_buffer(), yypush_buffer_state(), and yyrestart().
#define YY_MORE_ADJ 0 |
Definition at line 1473 of file netconf_lexer.cc.
Referenced by while().
#define yy_new_buffer yy_create_buffer |
Definition at line 628 of file netconf_lexer.cc.
Definition at line 424 of file netconf_lexer.cc.
Referenced by while().
#define YY_NO_INPUT 1 |
Definition at line 1537 of file netconf_lexer.cc.
#define YY_NULL 0 |
Definition at line 393 of file netconf_lexer.cc.
#define YY_NUM_RULES 64 |
Definition at line 694 of file netconf_lexer.cc.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 1667 of file netconf_lexer.cc.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 1474 of file netconf_lexer.cc.
Referenced by while().
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 1783 of file netconf_lexer.cc.
Referenced by while().
#define YY_SC_TO_UI | ( | c | ) |
#define yy_scan_buffer netconf__scan_buffer |
Definition at line 14 of file netconf_lexer.cc.
Referenced by yy_scan_bytes().
#define yy_scan_bytes netconf__scan_bytes |
Definition at line 16 of file netconf_lexer.cc.
Referenced by yy_scan_string().
#define yy_scan_string netconf__scan_string |
Definition at line 15 of file netconf_lexer.cc.
#define yy_set_bol | ( | at_bol | ) |
Definition at line 638 of file netconf_lexer.cc.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 629 of file netconf_lexer.cc.
#define YY_SKIP_YYWRAP |
Definition at line 653 of file netconf_lexer.cc.
#define YY_START (((yy_start) - 1) / 2) |
Definition at line 419 of file netconf_lexer.cc.
Referenced by while().
#define YY_START_STACK_INCR 25 |
Definition at line 1732 of file netconf_lexer.cc.
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 442 of file netconf_lexer.cc.
#define YY_STATE_EOF | ( | state | ) |
Definition at line 422 of file netconf_lexer.cc.
Referenced by while().
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 487 of file netconf_lexer.cc.
#define yy_switch_to_buffer netconf__switch_to_buffer |
Definition at line 20 of file netconf_lexer.cc.
Referenced by yy_scan_buffer().
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 445 of file netconf_lexer.cc.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 450 of file netconf_lexer.cc.
#define YY_USER_ACTION driver.loc_.columns(yyleng); |
Definition at line 1547 of file netconf_lexer.cc.
#define yyalloc netconf_alloc |
Definition at line 33 of file netconf_lexer.cc.
Referenced by yy_create_buffer(), yy_scan_buffer(), and yy_scan_bytes().
#define yyconst const |
Definition at line 383 of file netconf_lexer.cc.
#define yyensure_buffer_stack | ( | void | ) |
Definition at line 3500 of file netconf_lexer.cc.
Referenced by if(), yy_switch_to_buffer(), yypush_buffer_state(), and yyrestart().
#define yyfree netconf_free |
Definition at line 35 of file netconf_lexer.cc.
Referenced by yy_delete_buffer().
#define yyget_debug | ( | void | ) |
Definition at line 3747 of file netconf_lexer.cc.
#define yyget_extra | ( | void | ) |
Definition at line 170 of file netconf_lexer.cc.
#define yyget_in | ( | void | ) |
#define yyget_leng | ( | void | ) |
Get the length of the current token.
Definition at line 3704 of file netconf_lexer.cc.
#define yyget_lineno | ( | void | ) |
Get the current line number.
Definition at line 3679 of file netconf_lexer.cc.
#define yyget_out | ( | void | ) |
#define yyget_text | ( | void | ) |
#define yyin netconf_in |
Definition at line 25 of file netconf_lexer.cc.
Referenced by if(), while(), yyrestart(), and yyset_in().
#define yyleng netconf_leng |
Definition at line 26 of file netconf_lexer.cc.
Referenced by while().
#define yyless | ( | n | ) |
Definition at line 472 of file netconf_lexer.cc.
#define yyless | ( | n | ) |
Definition at line 472 of file netconf_lexer.cc.
#define yylex | ( | void | ) |
Definition at line 27 of file netconf_lexer.cc.
#define yylex_destroy | ( | void | ) |
Definition at line 3796 of file netconf_lexer.cc.
#define yylex_init netconf_lex_init |
Definition at line 140 of file netconf_lexer.cc.
#define yylex_init_extra netconf_lex_init_extra |
Definition at line 146 of file netconf_lexer.cc.
#define yylineno netconf_lineno |
Definition at line 28 of file netconf_lexer.cc.
Referenced by yyset_lineno().
#define yymore | ( | ) |
Definition at line 1472 of file netconf_lexer.cc.
#define yynoreturn |
Definition at line 388 of file netconf_lexer.cc.
#define yyout netconf_out |
Definition at line 29 of file netconf_lexer.cc.
Referenced by if(), and yyset_out().
#define yypop_buffer_state | ( | void | ) |
Removes and deletes the top of the stack, if present.
The next element becomes the new top.
Definition at line 3475 of file netconf_lexer.cc.
#define yypush_buffer_state netconf_push_buffer_state |
Definition at line 21 of file netconf_lexer.cc.
#define yyrealloc netconf_realloc |
Definition at line 34 of file netconf_lexer.cc.
#define yyrestart netconf_restart |
Definition at line 30 of file netconf_lexer.cc.
#define yyset_debug netconf_set_debug |
Definition at line 164 of file netconf_lexer.cc.
#define yyset_extra netconf_set_extra |
Definition at line 176 of file netconf_lexer.cc.
#define yyset_in netconf_set_in |
Definition at line 188 of file netconf_lexer.cc.
#define yyset_lineno netconf_set_lineno |
Definition at line 224 of file netconf_lexer.cc.
#define yyset_out netconf_set_out |
Definition at line 200 of file netconf_lexer.cc.
#define YYSTATE YY_START |
Definition at line 420 of file netconf_lexer.cc.
#define YYTABLES_NAME "yytables" |
Definition at line 3870 of file netconf_lexer.cc.
#define yyterminate | ( | ) |
Definition at line 1727 of file netconf_lexer.cc.
#define yytext netconf_text |
Definition at line 31 of file netconf_lexer.cc.
Referenced by while().
#define yytext_ptr yytext |
Definition at line 669 of file netconf_lexer.cc.
Referenced by while().
#define yywrap netconf_wrap |
Definition at line 32 of file netconf_lexer.cc.
Referenced by while().
#define yywrap | ( | ) |
Definition at line 32 of file netconf_lexer.cc.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 446 of file netconf_lexer.cc.
if | ( | ! | yy_init | ) |
Definition at line 1795 of file netconf_lexer.cc.
References YY_BUF_SIZE, yy_create_buffer, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_load_buffer_state, yyensure_buffer_stack, yyin, and yyout.
if | ( | start_token_flag | ) |
Definition at line 1849 of file netconf_lexer.cc.
References isc::netconf::NetconfParser::make_START_JSON(), isc::netconf::NetconfParser::make_START_NETCONF(), isc::netconf::NetconfParser::make_START_SUB_NETCONF(), isc::netconf::ParserContext::PARSER_JSON, isc::netconf::ParserContext::PARSER_NETCONF, and isc::netconf::ParserContext::PARSER_SUB_NETCONF.
while | ( | 1 | ) |
Definition at line 1865 of file netconf_lexer.cc.
References BEGIN, COMMENT, isc::netconf::ParserContext::CONFIG, isc::netconf::ParserContext::CONTROL_SOCKET, DIR_ENTER, DIR_EXIT, DIR_INCLUDE, ECHO, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, isc::netconf::ParserContext::HOOKS_LIBRARIES, INITIAL, isc_throw, isc::netconf::ParserContext::LOGGERS, isc::netconf::NetconfParser::make_BOOLEAN(), isc::netconf::NetconfParser::make_BOOT_UPDATE(), isc::netconf::NetconfParser::make_CA_SERVER(), isc::netconf::NetconfParser::make_COLON(), isc::netconf::NetconfParser::make_COMMA(), isc::netconf::NetconfParser::make_COMMENT(), isc::netconf::NetconfParser::make_CONTROL_SOCKET(), isc::netconf::NetconfParser::make_D2_SERVER(), isc::netconf::NetconfParser::make_DEBUGLEVEL(), isc::netconf::NetconfParser::make_DHCP4_SERVER(), isc::netconf::NetconfParser::make_DHCP6_SERVER(), isc::netconf::NetconfParser::make_END(), isc::netconf::NetconfParser::make_FLOAT(), isc::netconf::NetconfParser::make_FLUSH(), isc::netconf::NetconfParser::make_HOOKS_LIBRARIES(), isc::netconf::NetconfParser::make_HTTP(), isc::netconf::NetconfParser::make_INTEGER(), isc::netconf::NetconfParser::make_LCURLY_BRACKET(), isc::netconf::NetconfParser::make_LIBRARY(), isc::netconf::NetconfParser::make_LOGGERS(), isc::netconf::NetconfParser::make_LSQUARE_BRACKET(), isc::netconf::NetconfParser::make_MANAGED_SERVERS(), isc::netconf::NetconfParser::make_MAXSIZE(), isc::netconf::NetconfParser::make_MAXVER(), isc::netconf::NetconfParser::make_MODEL(), isc::netconf::NetconfParser::make_NAME(), isc::netconf::NetconfParser::make_NETCONF(), isc::netconf::NetconfParser::make_NULL_TYPE(), isc::netconf::NetconfParser::make_OUTPUT(), isc::netconf::NetconfParser::make_OUTPUT_OPTIONS(), isc::netconf::NetconfParser::make_PARAMETERS(), isc::netconf::NetconfParser::make_PATTERN(), isc::netconf::NetconfParser::make_RCURLY_BRACKET(), isc::netconf::NetconfParser::make_RSQUARE_BRACKET(), isc::netconf::NetconfParser::make_SEVERITY(), isc::netconf::NetconfParser::make_SOCKET_NAME(), isc::netconf::NetconfParser::make_SOCKET_TYPE(), isc::netconf::NetconfParser::make_SOCKET_URL(), isc::netconf::NetconfParser::make_STDOUT(), isc::netconf::NetconfParser::make_STRING(), isc::netconf::NetconfParser::make_SUBSCRIBE_CHANGES(), isc::netconf::NetconfParser::make_UNIX(), isc::netconf::NetconfParser::make_USER_CONTEXT(), isc::netconf::NetconfParser::make_VALIDATE_CHANGES(), isc::netconf::ParserContext::MANAGED_SERVERS, isc::netconf::ParserContext::NETCONF, isc::netconf::ParserContext::OUTPUT_OPTIONS, isc::netconf::ParserContext::SERVER, isc::netconf::ParserContext::SOCKET_TYPE, yy_act, yy_bp, YY_BREAK, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yy_cp, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, YY_DO_BEFORE_ACTION, YY_END_OF_BUFFER, YY_FATAL_ERROR, yy_flex_debug, YY_MORE_ADJ, YY_NEW_FILE, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, YY_START, YY_STATE_EOF, yyin, yyleng, yytext, yytext_ptr, and yywrap.
YY_BUFFER_STATE yy_create_buffer | ( | FILE * | file, |
int | size ) |
Allocate and initialize an input buffer state.
file | A readable stream. |
size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE . |
Definition at line 3306 of file netconf_lexer.cc.
References yy_buffer_state::yy_buf_size, yy_buffer_state::yy_ch_buf, YY_FATAL_ERROR, yy_init_buffer, yy_buffer_state::yy_is_our_buffer, and yyalloc.
void yy_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
Destroy the buffer.
b | a buffer created with yy_create_buffer() |
Definition at line 3341 of file netconf_lexer.cc.
References yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_buffer_state::yy_is_our_buffer, and yyfree.
void yy_flush_buffer | ( | YY_BUFFER_STATE | b | ) |
Discard all buffered characters.
On the next scan, YY_INPUT will be called.
b | the buffer state to be flushed, usually YY_CURRENT_BUFFER . |
Definition at line 3405 of file netconf_lexer.cc.
References yy_buffer_state::yy_at_bol, yy_buffer_state::yy_buf_pos, YY_BUFFER_NEW, yy_buffer_state::yy_buffer_status, yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_END_OF_BUFFER_CHAR, yy_load_buffer_state, and yy_buffer_state::yy_n_chars.
YY_BUFFER_STATE yy_scan_buffer | ( | char * | base, |
yy_size_t | size ) |
Setup the input buffer state to scan directly from a user-specified character buffer.
base | the character buffer |
size | the size in bytes of the character buffer |
Definition at line 3554 of file netconf_lexer.cc.
References yy_buffer_state::yy_at_bol, yy_buffer_state::yy_buf_pos, yy_buffer_state::yy_buf_size, YY_BUFFER_NEW, yy_buffer_state::yy_buffer_status, yy_buffer_state::yy_ch_buf, YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, yy_buffer_state::yy_fill_buffer, yy_buffer_state::yy_input_file, yy_buffer_state::yy_is_interactive, yy_buffer_state::yy_is_our_buffer, yy_buffer_state::yy_n_chars, yy_switch_to_buffer, and yyalloc.
YY_BUFFER_STATE yy_scan_bytes | ( | const char * | yybytes, |
int | _yybytes_len ) |
Setup the input buffer state to scan the given bytes.
The next call to yylex() will scan from a copy of bytes.
yybytes | the byte buffer to scan |
_yybytes_len | the number of bytes in the buffer pointed to by bytes. |
Definition at line 3608 of file netconf_lexer.cc.
References YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, yy_buffer_state::yy_is_our_buffer, yy_scan_buffer, and yyalloc.
YY_BUFFER_STATE yy_scan_string | ( | const char * | yystr | ) |
Setup the input buffer state to scan a string.
The next call to yylex() will scan from a copy of str.
yystr | a NUL-terminated string to scan |
Definition at line 3593 of file netconf_lexer.cc.
References yy_scan_bytes.
void yy_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
Switch to a different input buffer.
new_buffer | The new input buffer. |
Definition at line 3249 of file netconf_lexer.cc.
References YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_load_buffer_state, and yyensure_buffer_stack.
void * yyalloc | ( | yy_size_t | size | ) |
Definition at line 3845 of file netconf_lexer.cc.
void yyfree | ( | void * | ptr | ) |
Definition at line 3863 of file netconf_lexer.cc.
void yypush_buffer_state | ( | YY_BUFFER_STATE | new_buffer | ) |
Pushes the new state onto the stack.
The new state becomes the current state. This function will allocate the stack if necessary.
new_buffer | The new state. |
Definition at line 3439 of file netconf_lexer.cc.
References YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_load_buffer_state, and yyensure_buffer_stack.
void * yyrealloc | ( | void * | ptr, |
yy_size_t | size ) |
Definition at line 3850 of file netconf_lexer.cc.
void yyrestart | ( | FILE * | input_file | ) |
Immediately switch to a different input stream.
input_file | A readable stream. |
INITIAL
. Definition at line 3225 of file netconf_lexer.cc.
References YY_BUF_SIZE, yy_create_buffer, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_init_buffer, yy_load_buffer_state, yyensure_buffer_stack, and yyin.
void yyset_debug | ( | int | debug_flag | ) |
Definition at line 3752 of file netconf_lexer.cc.
References yy_flex_debug.
void yyset_extra | ( | YY_EXTRA_TYPE | user_defined | ) |
void yyset_in | ( | FILE * | _in_str | ) |
Set the input stream.
This does not discard the current input buffer.
_in_str | A readable stream. |
Definition at line 3737 of file netconf_lexer.cc.
References yyin.
void yyset_lineno | ( | int | _line_number | ) |
Set the current line number.
_line_number | line number |
Definition at line 3725 of file netconf_lexer.cc.
References yylineno.
void yyset_out | ( | FILE * | _out_str | ) |
Definition at line 3742 of file netconf_lexer.cc.
References yyout.
int yy_act |
Definition at line 1793 of file netconf_lexer.cc.
Referenced by while().
char * yy_bp |
Definition at line 1792 of file netconf_lexer.cc.
Referenced by while().
char* yy_cp |
Definition at line 1792 of file netconf_lexer.cc.
Referenced by while().
YY_DECL |
The main scanner function which does all the work.
Definition at line 1789 of file netconf_lexer.cc.
int yy_flex_debug = 1 |
Definition at line 1455 of file netconf_lexer.cc.
FILE* yyin = NULL |
Definition at line 658 of file netconf_lexer.cc.
int yyleng |
Definition at line 590 of file netconf_lexer.cc.
int yylineno = 1 |
Definition at line 663 of file netconf_lexer.cc.
FILE * yyout = NULL |
Definition at line 460 of file netconf_lexer.cc.
char* yytext |
Definition at line 1475 of file netconf_lexer.cc.