Kea: d2_lexer.cc File Reference

| Kea 3.0.3-git

d2_lexer.cc File Reference
`#include <stdio.h>`
`#include <string.h>`
`#include <errno.h>`
`#include <stdlib.h>`
`#include <config.h>`
`#include <cctype>`
`#include <cerrno>`
`#include <climits>`
`#include <cstdint>`
`#include <cstdlib>`
`#include <string>`
`#include <d2/parser_context.h>`
`#include <asiolink/io_address.h>`
`#include <boost/lexical_cast.hpp>`
`#include <exceptions/exceptions.h>`
`#include <unistd.h>`
Include dependency graph for d2_lexer.cc:

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 | d2_parser__create_buffer_ALREADY_DEFINED
#define | d2_parser__delete_buffer_ALREADY_DEFINED
#define | d2_parser__flex_debug_ALREADY_DEFINED
#define | d2_parser__flush_buffer_ALREADY_DEFINED
#define | d2_parser__init_buffer_ALREADY_DEFINED
#define | d2_parser__load_buffer_state_ALREADY_DEFINED
#define | d2_parser__scan_buffer_ALREADY_DEFINED
#define | d2_parser__scan_bytes_ALREADY_DEFINED
#define | d2_parser__scan_string_ALREADY_DEFINED
#define | d2_parser__switch_to_buffer_ALREADY_DEFINED
#define | d2_parser_alloc_ALREADY_DEFINED
#define | d2_parser_ensure_buffer_stack_ALREADY_DEFINED
#define | d2_parser_free_ALREADY_DEFINED
#define | d2_parser_in_ALREADY_DEFINED
#define | d2_parser_leng_ALREADY_DEFINED
#define | d2_parser_lex_ALREADY_DEFINED
#define | d2_parser_lineno_ALREADY_DEFINED
#define | d2_parser_out_ALREADY_DEFINED
#define | d2_parser_pop_buffer_state_ALREADY_DEFINED
#define | d2_parser_push_buffer_state_ALREADY_DEFINED
#define | d2_parser_realloc_ALREADY_DEFINED
#define | d2_parser_restart_ALREADY_DEFINED
#define | d2_parser_text_ALREADY_DEFINED
#define | d2_parser_wrap()
#define | d2_parser_wrap_ALREADY_DEFINED
#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 | 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 d2_parser__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 d2_parser__delete_buffer
#define | YY_DO_BEFORE_ACTION
#define | YY_END_OF_BUFFER 91
#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 d2_parser__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 d2_parser__flush_buffer
#define | yy_init_buffer d2_parser__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 90
#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 d2_parser__scan_buffer
#define | yy_scan_bytes d2_parser__scan_bytes
#define | yy_scan_string d2_parser__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 d2_parser__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 d2_parser_alloc
#define | yyconst const
#define | yyensure_buffer_stack
#define | yyfree d2_parser_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 d2_parser_in
#define | yyleng d2_parser_leng
#define | yyless(n)
#define | yylex
#define | yylex_destroy
#define | yylex_init d2_parser_lex_init
#define | yylex_init_extra d2_parser_lex_init_extra
#define | yylineno d2_parser_lineno
#define | yymore()
#define | yynoreturn
#define | yyout d2_parser_out
#define | yypop_buffer_state(void)
| Removes and deletes the top of the stack, if present.
#define | yypush_buffer_state d2_parser_push_buffer_state
#define | yyrealloc d2_parser_realloc
#define | yyrestart d2_parser_restart
#define | yyset_debug d2_parser_set_debug
#define | yyset_extra d2_parser_set_extra
#define | yyset_in d2_parser_set_in
#define | yyset_lineno d2_parser_set_lineno
#define | yyset_out d2_parser_set_out
#define | YYSTATE YY_START
#define | YYTABLES_NAME "yytables"
#define | yyterminate()
#define | yytext d2_parser_text
#define | yytext_ptr yytext
#define | yywrap()
#define | yywrap d2_parser_wrap

## 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

## Macro Definition Documentation

## ◆ BEGIN

#define BEGIN (yy_start) = 1 + 2 *

Definition at line 414 of file d2_lexer.cc.

Referenced by while().

## ◆ COMMENT

#define COMMENT 1

Definition at line 1247 of file d2_lexer.cc.

## ◆ d2_parser__create_buffer_ALREADY_DEFINED

#define d2_parser__create_buffer_ALREADY_DEFINED

Definition at line 54 of file d2_lexer.cc.

## ◆ d2_parser__delete_buffer_ALREADY_DEFINED

#define d2_parser__delete_buffer_ALREADY_DEFINED

Definition at line 60 of file d2_lexer.cc.

## ◆ d2_parser__flex_debug_ALREADY_DEFINED

#define d2_parser__flex_debug_ALREADY_DEFINED

Definition at line 280 of file d2_lexer.cc.

## ◆ d2_parser__flush_buffer_ALREADY_DEFINED

#define d2_parser__flush_buffer_ALREADY_DEFINED

Definition at line 90 of file d2_lexer.cc.

## ◆ d2_parser__init_buffer_ALREADY_DEFINED

#define d2_parser__init_buffer_ALREADY_DEFINED

Definition at line 84 of file d2_lexer.cc.

## ◆ d2_parser__load_buffer_state_ALREADY_DEFINED

#define d2_parser__load_buffer_state_ALREADY_DEFINED

Definition at line 96 of file d2_lexer.cc.

## ◆ d2_parser__scan_buffer_ALREADY_DEFINED

#define d2_parser__scan_buffer_ALREADY_DEFINED

Definition at line 66 of file d2_lexer.cc.

## ◆ d2_parser__scan_bytes_ALREADY_DEFINED

#define d2_parser__scan_bytes_ALREADY_DEFINED

Definition at line 78 of file d2_lexer.cc.

## ◆ d2_parser__scan_string_ALREADY_DEFINED

#define d2_parser__scan_string_ALREADY_DEFINED

Definition at line 72 of file d2_lexer.cc.

## ◆ d2_parser__switch_to_buffer_ALREADY_DEFINED

#define d2_parser__switch_to_buffer_ALREADY_DEFINED

Definition at line 102 of file d2_lexer.cc.

## ◆ d2_parser_alloc_ALREADY_DEFINED

#define d2_parser_alloc_ALREADY_DEFINED

Definition at line 236 of file d2_lexer.cc.

## ◆ d2_parser_ensure_buffer_stack_ALREADY_DEFINED

#define d2_parser_ensure_buffer_stack_ALREADY_DEFINED

Definition at line 120 of file d2_lexer.cc.

## ◆ d2_parser_free_ALREADY_DEFINED

#define d2_parser_free_ALREADY_DEFINED

Definition at line 248 of file d2_lexer.cc.

## ◆ d2_parser_in_ALREADY_DEFINED

#define d2_parser_in_ALREADY_DEFINED

Definition at line 268 of file d2_lexer.cc.

## ◆ d2_parser_leng_ALREADY_DEFINED

#define d2_parser_leng_ALREADY_DEFINED

Definition at line 262 of file d2_lexer.cc.

## ◆ d2_parser_lex_ALREADY_DEFINED

#define d2_parser_lex_ALREADY_DEFINED

Definition at line 126 of file d2_lexer.cc.

## ◆ d2_parser_lineno_ALREADY_DEFINED

#define d2_parser_lineno_ALREADY_DEFINED

Definition at line 286 of file d2_lexer.cc.

## ◆ d2_parser_out_ALREADY_DEFINED

#define d2_parser_out_ALREADY_DEFINED

Definition at line 274 of file d2_lexer.cc.

## ◆ d2_parser_pop_buffer_state_ALREADY_DEFINED

#define d2_parser_pop_buffer_state_ALREADY_DEFINED

Definition at line 114 of file d2_lexer.cc.

## ◆ d2_parser_push_buffer_state_ALREADY_DEFINED

#define d2_parser_push_buffer_state_ALREADY_DEFINED

Definition at line 108 of file d2_lexer.cc.

## ◆ d2_parser_realloc_ALREADY_DEFINED

#define d2_parser_realloc_ALREADY_DEFINED

Definition at line 242 of file d2_lexer.cc.

## ◆ d2_parser_restart_ALREADY_DEFINED

#define d2_parser_restart_ALREADY_DEFINED

Definition at line 132 of file d2_lexer.cc.

## ◆ d2_parser_text_ALREADY_DEFINED

#define d2_parser_text_ALREADY_DEFINED

Definition at line 256 of file d2_lexer.cc.

## ◆ d2_parser_wrap

#define d2_parser_wrap | ( |  | ) |

Value:
(/*CONSTCOND*/1)

Definition at line 652 of file d2_lexer.cc.

## ◆ d2_parser_wrap_ALREADY_DEFINED

#define d2_parser_wrap_ALREADY_DEFINED

Definition at line 228 of file d2_lexer.cc.

## ◆ DIR_ENTER

#define DIR_ENTER 2

Definition at line 1248 of file d2_lexer.cc.

## ◆ DIR_EXIT

#define DIR_EXIT 4

Definition at line 1250 of file d2_lexer.cc.

## ◆ DIR_INCLUDE

#define DIR_INCLUDE 3

Definition at line 1249 of file d2_lexer.cc.

## ◆ ECHO

#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)

Definition at line 1372 of file d2_lexer.cc.

## ◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN 0

Definition at line 464 of file d2_lexer.cc.

## ◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE 1

Definition at line 465 of file d2_lexer.cc.

## ◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH 2

Definition at line 466 of file d2_lexer.cc.

## ◆ FLEX_DEBUG

#define FLEX_DEBUG

Definition at line 655 of file d2_lexer.cc.

## ◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 41 of file d2_lexer.cc.

## ◆ FLEXINT_H

#define FLEXINT_H

Definition at line 311 of file d2_lexer.cc.

## ◆ INITIAL

#define INITIAL 0

Definition at line 1246 of file d2_lexer.cc.

## ◆ INT16_MAX

#define INT16_MAX (32767)

Definition at line 353 of file d2_lexer.cc.

## ◆ INT16_MIN

#define INT16_MIN (-32767-1)

Definition at line 344 of file d2_lexer.cc.

## ◆ INT32_MAX

#define INT32_MAX (2147483647)

Definition at line 356 of file d2_lexer.cc.

## ◆ INT32_MIN

#define INT32_MIN (-2147483647-1)

Definition at line 347 of file d2_lexer.cc.

## ◆ INT8_MAX

#define INT8_MAX (127)

Definition at line 350 of file d2_lexer.cc.

## ◆ INT8_MIN

#define INT8_MIN (-128)

Definition at line 341 of file d2_lexer.cc.

## ◆ REJECT

#define REJECT reject_used_but_not_detected

Definition at line 1168 of file d2_lexer.cc.

## ◆ SIZE_MAX

#define SIZE_MAX (~(size_t)0)

Definition at line 369 of file d2_lexer.cc.

## ◆ UINT16_MAX

#define UINT16_MAX (65535U)

Definition at line 362 of file d2_lexer.cc.

## ◆ UINT32_MAX

#define UINT32_MAX (4294967295U)

Definition at line 365 of file d2_lexer.cc.

## ◆ UINT8_MAX

#define UINT8_MAX (255U)

Definition at line 359 of file d2_lexer.cc.

## ◆ unput

#define unput | ( |  | c | ) |

Value:
yyunput( c, (yytext_ptr) )
yytext_ptr
#define yytext_ptr
Definition agent_lexer.cc:669

Definition at line 484 of file d2_lexer.cc.

## ◆ YY_AT_BOL

#define YY_AT_BOL | ( |  | ) |

Value:
(YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
YY_CURRENT_BUFFER_LVALUE
#define YY_CURRENT_BUFFER_LVALUE
Definition agent_lexer.cc:581

Definition at line 647 of file d2_lexer.cc.

## ◆ YY_BREAK

#define YY_BREAK /*LINTED*/break;

Definition at line 1474 of file d2_lexer.cc.

## ◆ YY_BUF_SIZE

#define YY_BUF_SIZE 16384

Definition at line 436 of file d2_lexer.cc.

## ◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING 2

Definition at line 551 of file d2_lexer.cc.

## ◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW 0

Definition at line 539 of file d2_lexer.cc.

## ◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL 1

Definition at line 540 of file d2_lexer.cc.

## ◆ yy_create_buffer

#define yy_create_buffer d2_parser__create_buffer

Definition at line 12 of file d2_lexer.cc.

Referenced by if(), and yyrestart().

## ◆ YY_CURRENT_BUFFER

#define YY_CURRENT_BUFFER

Value:
( (yy_buffer_stack) \
? (yy_buffer_stack)[(yy_buffer_stack_top)] \
: NULL)

Definition at line 575 of file d2_lexer.cc.

## ◆ YY_CURRENT_BUFFER_LVALUE

#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]

Definition at line 581 of file d2_lexer.cc.

## ◆ YY_DECL

#define YY_DECL int yylex (void)

Definition at line 1459 of file d2_lexer.cc.

## ◆ YY_DECL_IS_OURS

#define YY_DECL_IS_OURS 1

Definition at line 1454 of file d2_lexer.cc.

## ◆ yy_delete_buffer

#define yy_delete_buffer d2_parser__delete_buffer

Definition at line 13 of file d2_lexer.cc.

## ◆ YY_DO_BEFORE_ACTION

#define YY_DO_BEFORE_ACTION

Value:
(yytext_ptr) = yy_bp; \
/* %% [2.0] code to fiddle yytext and yyleng for yymore() goes here \ */\
yyleng = (int) (yy_cp - yy_bp); \
(yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
/* %% [3.0] code to copy yytext_ptr to yytext[] goes here, if %array \ */\
(yy_c_buf_p) = yy_cp;
yyleng
#define yyleng
Definition agent_lexer.cc:26
yy_cp
char * yy_cp
Definition agent_lexer.cc:1897
yy_bp
char * yy_bp
Definition agent_lexer.cc:1897

Definition at line 685 of file d2_lexer.cc.

## ◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER 91

Definition at line 695 of file d2_lexer.cc.

## ◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR 0

Definition at line 425 of file d2_lexer.cc.

## ◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE 2

Definition at line 3685 of file d2_lexer.cc.

## ◆ YY_EXTRA_TYPE

#define YY_EXTRA_TYPE void *

Definition at line 1265 of file d2_lexer.cc.

## ◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR | ( |  | msg | ) |

Value:
isc::d2::D2ParserContext::fatal(msg)
isc::d2::D2ParserContext::fatal
static void fatal(const std::string &what)
Fatal error handler.
Definition d2/parser_context.cc:91

Definition at line 1216 of file d2_lexer.cc.

Referenced by while(), yy_create_buffer(), yy_scan_buffer(), and yy_scan_bytes().

## ◆ yy_flex_debug

#define yy_flex_debug d2_parser__flex_debug

Definition at line 24 of file d2_lexer.cc.

## ◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION 2

Definition at line 42 of file d2_lexer.cc.

## ◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION 6

Definition at line 43 of file d2_lexer.cc.

## ◆ YY_FLEX_SUBMINOR_VERSION

#define YY_FLEX_SUBMINOR_VERSION 4

Definition at line 44 of file d2_lexer.cc.

## ◆ YY_FLUSH_BUFFER

#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )

Definition at line 616 of file d2_lexer.cc.

## ◆ yy_flush_buffer

#define yy_flush_buffer d2_parser__flush_buffer

Definition at line 18 of file d2_lexer.cc.

## ◆ yy_init_buffer

#define yy_init_buffer d2_parser__init_buffer

Definition at line 17 of file d2_lexer.cc.

Referenced by yy_create_buffer(), and yyrestart().

## ◆ YY_INPUT

#define YY_INPUT | ( |  | buf,
|  |  | result,
|  |  | max_size )

Definition at line 1382 of file d2_lexer.cc.

## ◆ YY_INT_ALIGNED

#define YY_INT_ALIGNED short int

Definition at line 5 of file d2_lexer.cc.

## ◆ YY_LESS_LINENO

#define YY_LESS_LINENO | ( |  | n | ) |

Definition at line 468 of file d2_lexer.cc.

## ◆ YY_LINENO_REWIND_TO

#define YY_LINENO_REWIND_TO | ( |  | ptr | ) |

Definition at line 469 of file d2_lexer.cc.

## ◆ yy_load_buffer_state

#define yy_load_buffer_state | ( |  | void | ) |

Value:
d2_parser__load_buffer_state

Definition at line 3329 of file d2_lexer.cc.

Referenced by if(), yy_flush_buffer(), yy_switch_to_buffer(), yypush_buffer_state(), and yyrestart().

## ◆ YY_MORE_ADJ

#define YY_MORE_ADJ 0

Definition at line 1170 of file d2_lexer.cc.

## ◆ yy_new_buffer

#define yy_new_buffer yy_create_buffer

Definition at line 628 of file d2_lexer.cc.

## ◆ YY_NEW_FILE

#define YY_NEW_FILE yyrestart( yyin )

Definition at line 424 of file d2_lexer.cc.

## ◆ YY_NO_INPUT

#define YY_NO_INPUT 1

Definition at line 1232 of file d2_lexer.cc.

## ◆ YY_NULL

#define YY_NULL 0

Definition at line 393 of file d2_lexer.cc.

## ◆ YY_NUM_RULES

#define YY_NUM_RULES 90

Definition at line 694 of file d2_lexer.cc.

## ◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE 8192

Definition at line 1362 of file d2_lexer.cc.

## ◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 1171 of file d2_lexer.cc.

## ◆ YY_RULE_SETUP

#define YY_RULE_SETUP YY_USER_ACTION

Definition at line 1478 of file d2_lexer.cc.

## ◆ YY_SC_TO_UI

#define YY_SC_TO_UI | ( |  | c | ) |

Value:
((YY_CHAR) (c))
YY_CHAR
flex_uint8_t YY_CHAR
Definition agent_lexer.cc:656

Definition at line 400 of file d2_lexer.cc.

Referenced by while().

## ◆ yy_scan_buffer

#define yy_scan_buffer d2_parser__scan_buffer

Definition at line 14 of file d2_lexer.cc.

Referenced by yy_scan_bytes().

## ◆ yy_scan_bytes

#define yy_scan_bytes d2_parser__scan_bytes

Definition at line 16 of file d2_lexer.cc.

Referenced by yy_scan_string().

## ◆ yy_scan_string

#define yy_scan_string d2_parser__scan_string

Definition at line 15 of file d2_lexer.cc.

## ◆ yy_set_bol

#define yy_set_bol | ( |  | at_bol | ) |

Value:
{ \
if ( ! YY_CURRENT_BUFFER ){\
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer( yyin, YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
yyin
#define yyin
Definition agent_lexer.cc:25
YY_CURRENT_BUFFER
#define YY_CURRENT_BUFFER
Definition agent_lexer.cc:575
YY_BUF_SIZE
#define YY_BUF_SIZE
Definition agent_lexer.cc:436

Definition at line 638 of file d2_lexer.cc.

## ◆ yy_set_interactive

#define yy_set_interactive | ( |  | is_interactive | ) |

Value:
{ \
if ( ! YY_CURRENT_BUFFER ){ \
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer( yyin, YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}

Definition at line 629 of file d2_lexer.cc.

## ◆ YY_SKIP_YYWRAP

#define YY_SKIP_YYWRAP

Definition at line 653 of file d2_lexer.cc.

## ◆ YY_START

#define YY_START (((yy_start) - 1) / 2)

Definition at line 419 of file d2_lexer.cc.

## ◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR 25

Definition at line 1427 of file d2_lexer.cc.

## ◆ YY_STATE_BUF_SIZE

#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))

Definition at line 442 of file d2_lexer.cc.

## ◆ YY_STATE_EOF

#define YY_STATE_EOF | ( |  | state | ) |

Value:
(YY_END_OF_BUFFER + state + 1)
YY_END_OF_BUFFER
#define YY_END_OF_BUFFER
Definition agent_lexer.cc:695

Definition at line 422 of file d2_lexer.cc.

Referenced by while().

## ◆ YY_STRUCT_YY_BUFFER_STATE

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 487 of file d2_lexer.cc.

## ◆ yy_switch_to_buffer

#define yy_switch_to_buffer d2_parser__switch_to_buffer

Definition at line 20 of file d2_lexer.cc.

Referenced by yy_scan_buffer().

## ◆ YY_TYPEDEF_YY_BUFFER_STATE

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 445 of file d2_lexer.cc.

## ◆ YY_TYPEDEF_YY_SIZE_T

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 450 of file d2_lexer.cc.

## ◆ YY_USER_ACTION

#define YY_USER_ACTION driver.loc_.columns(yyleng);

Definition at line 1242 of file d2_lexer.cc.

## ◆ yyalloc

#define yyalloc d2_parser_alloc

Definition at line 33 of file d2_lexer.cc.

Referenced by yy_create_buffer(), yy_scan_buffer(), and yy_scan_bytes().

## ◆ yyconst

#define yyconst const

Definition at line 383 of file d2_lexer.cc.

## ◆ yyensure_buffer_stack

#define yyensure_buffer_stack | ( |  | void | ) |

Value:
d2_parser_ensure_buffer_stack

Definition at line 3545 of file d2_lexer.cc.

Referenced by if(), yy_switch_to_buffer(), yypush_buffer_state(), and yyrestart().

## ◆ yyfree

#define yyfree d2_parser_free

Definition at line 35 of file d2_lexer.cc.

Referenced by yy_delete_buffer().

## ◆ yyget_debug

#define yyget_debug | ( |  | void | ) |

Value:
d2_parser_get_debug

Definition at line 3792 of file d2_lexer.cc.

## ◆ yyget_extra

#define yyget_extra | ( |  | void | ) |

Value:
d2_parser_get_extra

Definition at line 170 of file d2_lexer.cc.

## ◆ yyget_in

#define yyget_in | ( |  | void | ) |

Value:
d2_parser_get_in

Get the input stream.

Definition at line 3733 of file d2_lexer.cc.

## ◆ yyget_leng

#define yyget_leng | ( |  | void | ) |

Value:
d2_parser_get_leng

Get the length of the current token.

Definition at line 3749 of file d2_lexer.cc.

## ◆ yyget_lineno

#define yyget_lineno | ( |  | void | ) |

Value:
d2_parser_get_lineno

Get the current line number.

Definition at line 3724 of file d2_lexer.cc.

## ◆ yyget_out

#define yyget_out | ( |  | void | ) |

Value:
d2_parser_get_out

Get the output stream.

Definition at line 3741 of file d2_lexer.cc.

## ◆ yyget_text

#define yyget_text | ( |  | void | ) |

Value:
d2_parser_get_text

Get the current token.

Definition at line 3758 of file d2_lexer.cc.

## ◆ yyin

#define yyin d2_parser_in

Definition at line 25 of file d2_lexer.cc.

## ◆ yyleng

#define yyleng d2_parser_leng

Definition at line 26 of file d2_lexer.cc.

## ◆ yyless [1/2]

#define yyless | ( |  | n | ) |

Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
yytext[yyleng] = (yy_hold_char); \
(yy_c_buf_p) = yytext + yyless_macro_arg; \
(yy_hold_char) = *(yy_c_buf_p); \
*(yy_c_buf_p) = '\0'; \
yyleng = yyless_macro_arg; \
} \
while ( 0 )
yytext
#define yytext
Definition agent_lexer.cc:31

Definition at line 472 of file d2_lexer.cc.

## ◆ yyless [2/2]

#define yyless | ( |  | n | ) |

Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
*yy_cp = (yy_hold_char); \
YY_RESTORE_YY_MORE_OFFSET \
(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
YY_RESTORE_YY_MORE_OFFSET
#define YY_RESTORE_YY_MORE_OFFSET
Definition agent_lexer.cc:1579
YY_MORE_ADJ
#define YY_MORE_ADJ
Definition agent_lexer.cc:1578
YY_DO_BEFORE_ACTION
#define YY_DO_BEFORE_ACTION
Definition agent_lexer.cc:685

Definition at line 472 of file d2_lexer.cc.

## ◆ yylex

#define yylex | ( |  | void | ) |

Value:
d2_parser_lex

Definition at line 27 of file d2_lexer.cc.

## ◆ yylex_destroy

#define yylex_destroy | ( |  | void | ) |

Value:
d2_parser_lex_destroy

Definition at line 3841 of file d2_lexer.cc.

## ◆ yylex_init

#define yylex_init d2_parser_lex_init

Definition at line 140 of file d2_lexer.cc.

## ◆ yylex_init_extra

#define yylex_init_extra d2_parser_lex_init_extra

Definition at line 146 of file d2_lexer.cc.

## ◆ yylineno

#define yylineno d2_parser_lineno

Definition at line 28 of file d2_lexer.cc.

## ◆ yymore

#define yymore | ( |  | ) |

Value:
yymore_used_but_not_detected

Definition at line 1169 of file d2_lexer.cc.

## ◆ yynoreturn

#define yynoreturn

Definition at line 388 of file d2_lexer.cc.

## ◆ yyout

#define yyout d2_parser_out

Definition at line 29 of file d2_lexer.cc.

## ◆ yypop_buffer_state

#define yypop_buffer_state | ( |  | void | ) |

Value:
d2_parser_pop_buffer_state

Removes and deletes the top of the stack, if present.

The next element becomes the new top.

Definition at line 3520 of file d2_lexer.cc.

## ◆ yypush_buffer_state

#define yypush_buffer_state d2_parser_push_buffer_state

Definition at line 21 of file d2_lexer.cc.

## ◆ yyrealloc

#define yyrealloc d2_parser_realloc

Definition at line 34 of file d2_lexer.cc.

## ◆ yyrestart

#define yyrestart d2_parser_restart

Definition at line 30 of file d2_lexer.cc.

## ◆ yyset_debug

#define yyset_debug d2_parser_set_debug

Definition at line 164 of file d2_lexer.cc.

## ◆ yyset_extra

#define yyset_extra d2_parser_set_extra

Definition at line 176 of file d2_lexer.cc.

## ◆ yyset_in

#define yyset_in d2_parser_set_in

Definition at line 188 of file d2_lexer.cc.

## ◆ yyset_lineno

#define yyset_lineno d2_parser_set_lineno

Definition at line 224 of file d2_lexer.cc.

## ◆ yyset_out

#define yyset_out d2_parser_set_out

Definition at line 200 of file d2_lexer.cc.

## ◆ YYSTATE

#define YYSTATE YY_START

Definition at line 420 of file d2_lexer.cc.

## ◆ YYTABLES_NAME

#define YYTABLES_NAME "yytables"

Definition at line 3915 of file d2_lexer.cc.

## ◆ yyterminate

#define yyterminate | ( |  | ) |

Value:
return YY_NULL
YY_NULL
#define YY_NULL
Definition agent_lexer.cc:393

Definition at line 1422 of file d2_lexer.cc.

## ◆ yytext

#define yytext d2_parser_text

Definition at line 31 of file d2_lexer.cc.

## ◆ yytext_ptr

#define yytext_ptr yytext

Definition at line 669 of file d2_lexer.cc.

## ◆ yywrap [1/2]

#define yywrap | ( |  | ) |

Value:
1

Definition at line 32 of file d2_lexer.cc.

## ◆ yywrap [2/2]

#define yywrap d2_parser_wrap

Definition at line 32 of file d2_lexer.cc.

Referenced by while().

## Typedef Documentation

## ◆ YY_BUFFER_STATE

typedef struct yy_buffer_state* YY_BUFFER_STATE

Definition at line 446 of file d2_lexer.cc.

## Function Documentation

## ◆ if() [1/2]

if | ( | ! | yy_init | ) |

Definition at line 1490 of file d2_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() [2/2]

if | ( | start_token_flag |  | ) |

Definition at line 1538 of file d2_lexer.cc.

References isc::d2::D2Parser::make_SUB_DDNS_DOMAIN(), isc::d2::D2Parser::make_SUB_DDNS_DOMAINS(), isc::d2::D2Parser::make_SUB_DHCPDDNS(), isc::d2::D2Parser::make_SUB_DNS_SERVER(), isc::d2::D2Parser::make_SUB_HOOKS_LIBRARY(), isc::d2::D2Parser::make_SUB_TSIG_KEY(), isc::d2::D2Parser::make_SUB_TSIG_KEYS(), isc::d2::D2Parser::make_TOPLEVEL_DHCPDDNS(), isc::d2::D2Parser::make_TOPLEVEL_JSON(), isc::d2::D2ParserContext::PARSER_DDNS_DOMAIN, isc::d2::D2ParserContext::PARSER_DDNS_DOMAINS, isc::d2::D2ParserContext::PARSER_DHCPDDNS, isc::d2::D2ParserContext::PARSER_DNS_SERVER, isc::d2::D2ParserContext::PARSER_HOOKS_LIBRARY, isc::d2::D2ParserContext::PARSER_JSON, isc::d2::D2ParserContext::PARSER_SUB_DHCPDDNS, isc::d2::D2ParserContext::PARSER_TSIG_KEY, and isc::d2::D2ParserContext::PARSER_TSIG_KEYS.

Here is the call graph for this function:

## ◆ while()

while | ( | 1 |  | ) |

Definition at line 1566 of file d2_lexer.cc.

References isc::d2::D2ParserContext::AUTH_TYPE, isc::d2::D2ParserContext::AUTHENTICATION, BEGIN, isc::d2::D2ParserContext::CLIENTS, COMMENT, isc::d2::D2ParserContext::CONFIG, isc::d2::D2ParserContext::CONTROL_SOCKET, isc::d2::D2ParserContext::CONTROL_SOCKET_TYPE, isc::d2::D2ParserContext::DDNS_DOMAIN, isc::d2::D2ParserContext::DDNS_DOMAINS, isc::d2::D2ParserContext::DHCPDDNS, DIR_ENTER, DIR_EXIT, DIR_INCLUDE, isc::d2::D2ParserContext::DNS_SERVER, isc::d2::D2ParserContext::DNS_SERVERS, ECHO, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, isc::d2::D2ParserContext::FORWARD_DDNS, isc::d2::D2ParserContext::HOOKS_LIBRARIES, INITIAL, isc_throw, isc::d2::D2ParserContext::LOGGERS, isc::d2::D2Parser::make_ALGORITHM(), isc::d2::D2Parser::make_AUTHENTICATION(), isc::d2::D2Parser::make_BASIC(), isc::d2::D2Parser::make_BOOLEAN(), isc::d2::D2Parser::make_CERT_FILE(), isc::d2::D2Parser::make_CERT_REQUIRED(), isc::d2::D2Parser::make_CLIENTS(), isc::d2::D2Parser::make_COLON(), isc::d2::D2Parser::make_COMMA(), isc::d2::D2Parser::make_COMMENT(), isc::d2::D2Parser::make_CONTROL_SOCKET(), isc::d2::D2Parser::make_CONTROL_SOCKETS(), isc::d2::D2Parser::make_DDNS_DOMAINS(), isc::d2::D2Parser::make_DEBUGLEVEL(), isc::d2::D2Parser::make_DHCPDDNS(), isc::d2::D2Parser::make_DIGEST_BITS(), isc::d2::D2Parser::make_DIRECTORY(), isc::d2::D2Parser::make_DNS_SERVER_TIMEOUT(), isc::d2::D2Parser::make_DNS_SERVERS(), isc::d2::D2Parser::make_END(), isc::d2::D2Parser::make_FLOAT(), isc::d2::D2Parser::make_FLUSH(), isc::d2::D2Parser::make_FORWARD_DDNS(), isc::d2::D2Parser::make_HOOKS_LIBRARIES(), isc::d2::D2Parser::make_HOSTNAME(), isc::d2::D2Parser::make_HTTP(), isc::d2::D2Parser::make_HTTPS(), isc::d2::D2Parser::make_INTEGER(), isc::d2::D2Parser::make_IP_ADDRESS(), isc::d2::D2Parser::make_JSON(), isc::d2::D2Parser::make_KEY_FILE(), isc::d2::D2Parser::make_KEY_NAME(), isc::d2::D2Parser::make_LCURLY_BRACKET(), isc::d2::D2Parser::make_LIBRARY(), isc::d2::D2Parser::make_LOGGERS(), isc::d2::D2Parser::make_LSQUARE_BRACKET(), isc::d2::D2Parser::make_MAXSIZE(), isc::d2::D2Parser::make_MAXVER(), isc::d2::D2Parser::make_NAME(), isc::d2::D2Parser::make_NCR_FORMAT(), isc::d2::D2Parser::make_NCR_PROTOCOL(), isc::d2::D2Parser::make_NULL_TYPE(), isc::d2::D2Parser::make_OUTPUT(), isc::d2::D2Parser::make_OUTPUT_OPTIONS(), isc::d2::D2Parser::make_PARAMETERS(), isc::d2::D2Parser::make_PASSWORD(), isc::d2::D2Parser::make_PASSWORD_FILE(), isc::d2::D2Parser::make_PATTERN(), isc::d2::D2Parser::make_PORT(), isc::d2::D2Parser::make_RCURLY_BRACKET(), isc::d2::D2Parser::make_REALM(), isc::d2::D2Parser::make_REVERSE_DDNS(), isc::d2::D2Parser::make_RSQUARE_BRACKET(), isc::d2::D2Parser::make_SECRET(), isc::d2::D2Parser::make_SECRET_FILE(), isc::d2::D2Parser::make_SEVERITY(), isc::d2::D2Parser::make_SOCKET_ADDRESS(), isc::d2::D2Parser::make_SOCKET_NAME(), isc::d2::D2Parser::make_SOCKET_PORT(), isc::d2::D2Parser::make_SOCKET_TYPE(), isc::d2::D2Parser::make_STRING(), isc::d2::D2Parser::make_TCP(), isc::d2::D2Parser::make_TRUST_ANCHOR(), isc::d2::D2Parser::make_TSIG_KEYS(), isc::d2::D2Parser::make_TYPE(), isc::d2::D2Parser::make_UDP(), isc::d2::D2Parser::make_UNIX(), isc::d2::D2Parser::make_USER(), isc::d2::D2Parser::make_USER_CONTEXT(), isc::d2::D2Parser::make_USER_FILE(), isc::d2::D2ParserContext::NCR_FORMAT, isc::d2::D2ParserContext::NCR_PROTOCOL, isc::d2::D2ParserContext::OUTPUT_OPTIONS, isc::d2::D2ParserContext::REVERSE_DDNS, isc::d2::D2ParserContext::TSIG_KEY, isc::d2::D2ParserContext::TSIG_KEYS, 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.

Here is the call graph for this function:

## ◆ yy_create_buffer()

YY_BUFFER_STATE yy_create_buffer | ( | FILE * | file,
|  | int | size )

Allocate and initialize an input buffer state.

Parameters

  file | A readable stream.
  size | The character buffer size in bytes. When in doubt, use `YY_BUF_SIZE`.

Returns
  the allocated buffer state.

Definition at line 3351 of file d2_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.

## ◆ yy_delete_buffer()

void yy_delete_buffer | ( | YY_BUFFER_STATE | b | ) |

Destroy the buffer.

Parameters

  b | a buffer created with yy_create_buffer()

Definition at line 3386 of file d2_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.

## ◆ yy_flush_buffer()

void yy_flush_buffer | ( | YY_BUFFER_STATE | b | ) |

Discard all buffered characters.

On the next scan, YY_INPUT will be called.

Parameters

  b | the buffer state to be flushed, usually `YY_CURRENT_BUFFER`.

Definition at line 3450 of file d2_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_scan_buffer()

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.

Parameters

  base | the character buffer
  size | the size in bytes of the character buffer

Returns
  the newly allocated buffer state object.

Definition at line 3599 of file d2_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_scan_bytes()

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.

Parameters

  yybytes | the byte buffer to scan
  _yybytes_len | the number of bytes in the buffer pointed to by bytes.

Returns
  the newly allocated buffer state object.

Definition at line 3653 of file d2_lexer.cc.

References YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, yy_buffer_state::yy_is_our_buffer, yy_scan_buffer, and yyalloc.

## ◆ yy_scan_string()

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.

Parameters

  yystr | a NUL-terminated string to scan

Returns
  the newly allocated buffer state object.

Note
  If you want to scan bytes that may contain NUL values, then use yy_scan_bytes() instead.

Definition at line 3638 of file d2_lexer.cc.

References yy_scan_bytes.

## ◆ yy_switch_to_buffer()

void yy_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |

Switch to a different input buffer.

Parameters

  new_buffer | The new input buffer.

Definition at line 3294 of file d2_lexer.cc.

References YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_load_buffer_state, and yyensure_buffer_stack.

## ◆ yyalloc()

void * yyalloc | ( | yy_size_t | size | ) |

Definition at line 3890 of file d2_lexer.cc.

## ◆ yyfree()

void yyfree | ( | void * | ptr | ) |

Definition at line 3908 of file d2_lexer.cc.

## ◆ yypush_buffer_state()

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.

Parameters

  new_buffer | The new state.

Definition at line 3484 of file d2_lexer.cc.

References YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_load_buffer_state, and yyensure_buffer_stack.

## ◆ yyrealloc()

void * yyrealloc | ( | void * | ptr,
|  | yy_size_t | size )

Definition at line 3895 of file d2_lexer.cc.

## ◆ yyrestart()

void yyrestart | ( | FILE * | input_file | ) |

Immediately switch to a different input stream.

Parameters

  input_file | A readable stream.

Note
  This function does not reset the start condition to `INITIAL` .

Definition at line 3270 of file d2_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.

## ◆ yyset_debug()

void yyset_debug | ( | int | debug_flag | ) |

Definition at line 3797 of file d2_lexer.cc.

References yy_flex_debug.

## ◆ yyset_extra()

void yyset_extra | ( | YY_EXTRA_TYPE | user_defined | ) |

References YY_EXTRA_TYPE.

## ◆ yyset_in()

void yyset_in | ( | FILE * | _in_str | ) |

Set the input stream.

This does not discard the current input buffer.

Parameters

  _in_str | A readable stream.

See also
  yy_switch_to_buffer

Definition at line 3782 of file d2_lexer.cc.

References yyin.

## ◆ yyset_lineno()

void yyset_lineno | ( | int | _line_number | ) |

Set the current line number.

Parameters

  _line_number | line number

Definition at line 3770 of file d2_lexer.cc.

References yylineno.

## ◆ yyset_out()

void yyset_out | ( | FILE * | _out_str | ) |

Definition at line 3787 of file d2_lexer.cc.

References yyout.

## Variable Documentation

## ◆ yy_act

int yy_act

Definition at line 1488 of file d2_lexer.cc.

## ◆ yy_bp

char * yy_bp

Definition at line 1487 of file d2_lexer.cc.

## ◆ yy_cp

char* yy_cp

Definition at line 1487 of file d2_lexer.cc.

## ◆ YY_DECL

YY_DECL

Initial value:
{
yy_state_type yy_current_state
yy_state_type
int yy_state_type
Definition agent_lexer.cc:660

The main scanner function which does all the work.

Definition at line 1484 of file d2_lexer.cc.

## ◆ yy_flex_debug

int yy_flex_debug = 1

Definition at line 1150 of file d2_lexer.cc.

## ◆ yyin

FILE* yyin = NULL

Definition at line 658 of file d2_lexer.cc.

## ◆ yyleng

int yyleng

Definition at line 590 of file d2_lexer.cc.

## ◆ yylineno

int yylineno = 1

Definition at line 663 of file d2_lexer.cc.

## ◆ yyout

FILE * yyout = NULL

Definition at line 460 of file d2_lexer.cc.

## ◆ yytext

char* yytext

Definition at line 1172 of file d2_lexer.cc.