cprover
json_lex.yy.cpp File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include "json_parser.h"
#include "json_y.tab.h"
#include <util/pragma_wsign_compare.def>
#include <util/pragma_wnull_conversion.def>
#include <util/pragma_wdeprecated_register.def>
Include dependency graph for json_lex.yy.cpp:

Go to the source code of this file.

Classes

struct  yy_buffer_state
 
struct  yy_trans_info
 

Macros

#define YY_INT_ALIGNED   short int
 
#define yy_create_buffer   yyjson_create_buffer
 
#define yy_delete_buffer   yyjson_delete_buffer
 
#define yy_scan_buffer   yyjson_scan_buffer
 
#define yy_scan_string   yyjson_scan_string
 
#define yy_scan_bytes   yyjson_scan_bytes
 
#define yy_init_buffer   yyjson_init_buffer
 
#define yy_flush_buffer   yyjson_flush_buffer
 
#define yy_load_buffer_state   yyjson_load_buffer_state
 
#define yy_switch_to_buffer   yyjson_switch_to_buffer
 
#define yypush_buffer_state   yyjsonpush_buffer_state
 
#define yypop_buffer_state   yyjsonpop_buffer_state
 
#define yyensure_buffer_stack   yyjsonensure_buffer_stack
 
#define yy_flex_debug   yyjson_flex_debug
 
#define yyin   yyjsonin
 
#define yyleng   yyjsonleng
 
#define yylex   yyjsonlex
 
#define yylineno   yyjsonlineno
 
#define yyout   yyjsonout
 
#define yyrestart   yyjsonrestart
 
#define yytext   yyjsontext
 
#define yywrap   yyjsonwrap
 
#define yyalloc   yyjsonalloc
 
#define yyrealloc   yyjsonrealloc
 
#define yyfree   yyjsonfree
 
#define FLEX_SCANNER
 
#define YY_FLEX_MAJOR_VERSION   2
 
#define YY_FLEX_MINOR_VERSION   6
 
#define YY_FLEX_SUBMINOR_VERSION   4
 
#define FLEX_BETA
 
#define yyjson_create_buffer_ALREADY_DEFINED
 
#define yyjson_delete_buffer_ALREADY_DEFINED
 
#define yyjson_scan_buffer_ALREADY_DEFINED
 
#define yyjson_scan_string_ALREADY_DEFINED
 
#define yyjson_scan_bytes_ALREADY_DEFINED
 
#define yyjson_init_buffer_ALREADY_DEFINED
 
#define yyjson_flush_buffer_ALREADY_DEFINED
 
#define yyjson_load_buffer_state_ALREADY_DEFINED
 
#define yyjson_switch_to_buffer_ALREADY_DEFINED
 
#define yyjsonpush_buffer_state_ALREADY_DEFINED
 
#define yyjsonpop_buffer_state_ALREADY_DEFINED
 
#define yyjsonensure_buffer_stack_ALREADY_DEFINED
 
#define yyjsonlex_ALREADY_DEFINED
 
#define yyjsonrestart_ALREADY_DEFINED
 
#define yylex_init   yyjsonlex_init
 
#define yylex_init_extra   yyjsonlex_init_extra
 
#define yylex_destroy   yyjsonlex_destroy
 
#define yyget_debug   yyjsonget_debug
 
#define yyset_debug   yyjsonset_debug
 
#define yyget_extra   yyjsonget_extra
 
#define yyset_extra   yyjsonset_extra
 
#define yyget_in   yyjsonget_in
 
#define yyset_in   yyjsonset_in
 
#define yyget_out   yyjsonget_out
 
#define yyset_out   yyjsonset_out
 
#define yyget_leng   yyjsonget_leng
 
#define yyget_text   yyjsonget_text
 
#define yyget_lineno   yyjsonget_lineno
 
#define yyset_lineno   yyjsonset_lineno
 
#define yyjsonwrap_ALREADY_DEFINED
 
#define yyjsonalloc_ALREADY_DEFINED
 
#define yyjsonrealloc_ALREADY_DEFINED
 
#define yyjsonfree_ALREADY_DEFINED
 
#define yyjsontext_ALREADY_DEFINED
 
#define yyjsonleng_ALREADY_DEFINED
 
#define yyjsonin_ALREADY_DEFINED
 
#define yyjsonout_ALREADY_DEFINED
 
#define yyjson_flex_debug_ALREADY_DEFINED
 
#define yyjsonlineno_ALREADY_DEFINED
 
#define FLEXINT_H
 
#define INT8_MIN   (-128)
 
#define INT16_MIN   (-32767-1)
 
#define INT32_MIN   (-2147483647-1)
 
#define INT8_MAX   (127)
 
#define INT16_MAX   (32767)
 
#define INT32_MAX   (2147483647)
 
#define UINT8_MAX   (255U)
 
#define UINT16_MAX   (65535U)
 
#define UINT32_MAX   (4294967295U)
 
#define SIZE_MAX   (~(size_t)0)
 
#define yyconst   const
 
#define yynoreturn
 
#define YY_NULL   0
 
#define YY_SC_TO_UI(c)   ((YY_CHAR) (c))
 
#define BEGIN   (yy_start) = 1 + 2 *
 
#define YY_START   (((yy_start) - 1) / 2)
 
#define YYSTATE   YY_START
 
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
 
#define YY_NEW_FILE   yyrestart( yyin )
 
#define YY_END_OF_BUFFER_CHAR   0
 
#define YY_BUF_SIZE   16384
 
#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
 
#define YY_TYPEDEF_YY_BUFFER_STATE
 
#define YY_TYPEDEF_YY_SIZE_T
 
#define EOB_ACT_CONTINUE_SCAN   0
 
#define EOB_ACT_END_OF_FILE   1
 
#define EOB_ACT_LAST_MATCH   2
 
#define YY_LESS_LINENO(n)
 
#define YY_LINENO_REWIND_TO(ptr)
 
#define yyless(n)
 
#define unput(c)   yyunput( c, (yytext_ptr) )
 
#define YY_STRUCT_YY_BUFFER_STATE
 
#define YY_BUFFER_NEW   0
 
#define YY_BUFFER_NORMAL   1
 
#define YY_BUFFER_EOF_PENDING   2
 
#define YY_CURRENT_BUFFER
 
#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]
 
#define YY_FLUSH_BUFFER   yy_flush_buffer( YY_CURRENT_BUFFER )
 
#define yy_new_buffer   yy_create_buffer
 
#define yy_set_interactive(is_interactive)
 
#define yy_set_bol(at_bol)
 
#define YY_AT_BOL()   (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
 
#define yyjsonwrap()   (/*CONSTCOND*/1)
 
#define YY_SKIP_YYWRAP
 
#define yytext_ptr   yytext
 
#define YY_DO_BEFORE_ACTION
 
#define YY_NUM_RULES   8
 
#define YY_END_OF_BUFFER   9
 
#define REJECT   reject_used_but_not_detected
 
#define yymore()   yymore_used_but_not_detected
 
#define YY_MORE_ADJ   0
 
#define YY_RESTORE_YY_MORE_OFFSET
 
#define YY_NO_INPUT   1
 
#define YY_NO_UNISTD_H   1
 
#define PARSER   json_parser
 
#define INITIAL   0
 
#define YY_EXTRA_TYPE   void *
 
#define YY_READ_BUF_SIZE   8192
 
#define ECHO   do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
 
#define YY_INPUT(buf, result, max_size)
 
#define yyterminate()   return YY_NULL
 
#define YY_START_STACK_INCR   25
 
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
 
#define YY_DECL_IS_OURS   1
 
#define YY_DECL   int yylex (void)
 
#define YY_USER_ACTION
 
#define YY_BREAK   /*LINTED*/break;
 
#define YY_RULE_SETUP   YY_USER_ACTION
 
#define YY_EXIT_FAILURE   2
 
#define yyless(n)
 
#define YYTABLES_NAME   "yytables"
 

Typedefs

typedef signed char flex_int8_t
 
typedef short int flex_int16_t
 
typedef int flex_int32_t
 
typedef unsigned char flex_uint8_t
 
typedef unsigned short int flex_uint16_t
 
typedef unsigned int flex_uint32_t
 
typedef struct yy_buffer_stateYY_BUFFER_STATE
 
typedef size_t yy_size_t
 
typedef flex_uint8_t YY_CHAR
 
typedef int yy_state_type
 

Functions

void yyjsonrestart (FILE *input_file)
 Immediately switch to a different input stream. More...
 
void yyjson_switch_to_buffer (YY_BUFFER_STATE new_buffer)
 Switch to a different input buffer. More...
 
YY_BUFFER_STATE yyjson_create_buffer (FILE *file, int size)
 Allocate and initialize an input buffer state. More...
 
void yyjson_delete_buffer (YY_BUFFER_STATE b)
 Destroy the buffer. More...
 
void yyjson_flush_buffer (YY_BUFFER_STATE b)
 Discard all buffered characters. More...
 
void yyjsonpush_buffer_state (YY_BUFFER_STATE new_buffer)
 Pushes the new state onto the stack. More...
 
void yyjsonpop_buffer_state (void)
 Removes and deletes the top of the stack, if present. More...
 
static void yyjsonensure_buffer_stack (void)
 
static void yyjson_load_buffer_state (void)
 
static void yyjson_init_buffer (YY_BUFFER_STATE b, FILE *file)
 
YY_BUFFER_STATE yyjson_scan_buffer (char *base, yy_size_t size)
 Setup the input buffer state to scan directly from a user-specified character buffer. More...
 
YY_BUFFER_STATE yyjson_scan_string (const char *yystr)
 Setup the input buffer state to scan a string. More...
 
YY_BUFFER_STATE yyjson_scan_bytes (const char *yybytes, int _yybytes_len)
 Setup the input buffer state to scan the given bytes. More...
 
void * yyjsonalloc (yy_size_t)
 
void * yyjsonrealloc (void *, yy_size_t)
 
void yyjsonfree (void *)
 
static yy_state_type yy_get_previous_state (void)
 
static yy_state_type yy_try_NUL_trans (yy_state_type current_state)
 
static int yy_get_next_buffer (void)
 
static void yy_fatal_error (const char *msg)
 
static int yy_init_globals (void)
 
int yyjsonlex_destroy (void)
 
int yyjsonget_debug (void)
 
void yyjsonset_debug (int debug_flag)
 
void * yyjsonget_extra (void)
 
void yyjsonset_extra (void *user_defined)
 
FILE * yyjsonget_in (void)
 Get the input stream. More...
 
void yyjsonset_in (FILE *_in_str)
 Set the input stream. More...
 
FILE * yyjsonget_out (void)
 Get the output stream. More...
 
void yyjsonset_out (FILE *_out_str)
 
int yyjsonget_leng (void)
 Get the length of the current token. More...
 
char * yyjsonget_text (void)
 Get the current token. More...
 
int yyjsonget_lineno (void)
 Get the current line number. More...
 
void yyjsonset_lineno (int _line_number)
 Set the current line number. More...
 
int yyjsonlex (void)
 The main scanner function which does all the work. More...
 

Variables

int yyjsonleng
 
FILE * yyjsonin = NULL
 
FILE * yyjsonout = NULL
 
static size_t yy_buffer_stack_top = 0
 index of top of stack. More...
 
static size_t yy_buffer_stack_max = 0
 capacity of stack. More...
 
static YY_BUFFER_STATEyy_buffer_stack = NULL
 Stack as an array. More...
 
static char yy_hold_char
 
static int yy_n_chars
 
static char * yy_c_buf_p = NULL
 
static int yy_init = 0
 
static int yy_start = 0
 
static int yy_did_buffer_switch_on_eof
 
int yyjsonlineno = 1
 
char * yyjsontext
 
static const flex_int16_t yy_accept [43]
 
static const YY_CHAR yy_ec [256]
 
static const YY_CHAR yy_meta [21]
 
static const flex_int16_t yy_base [44]
 
static const flex_int16_t yy_def [44]
 
static const flex_int16_t yy_nxt [93]
 
static const flex_int16_t yy_chk [93]
 
static yy_state_type yy_last_accepting_state
 
static char * yy_last_accepting_cpos
 
int yyjson_flex_debug = 0
 

Macro Definition Documentation

◆ BEGIN

#define BEGIN   (yy_start) = 1 + 2 *

Definition at line 377 of file json_lex.yy.cpp.

◆ ECHO

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

Definition at line 846 of file json_lex.yy.cpp.

◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 421 of file json_lex.yy.cpp.

Referenced by yy_get_next_buffer(), and yyjsonlex().

◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE   1

Definition at line 422 of file json_lex.yy.cpp.

Referenced by yy_get_next_buffer(), and yyjsonlex().

◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH   2

Definition at line 423 of file json_lex.yy.cpp.

Referenced by yy_get_next_buffer(), and yyjsonlex().

◆ FLEX_BETA

#define FLEX_BETA

Definition at line 39 of file json_lex.yy.cpp.

◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 34 of file json_lex.yy.cpp.

◆ FLEXINT_H

#define FLEXINT_H

Definition at line 289 of file json_lex.yy.cpp.

◆ INITIAL

#define INITIAL   0

Definition at line 753 of file json_lex.yy.cpp.

Referenced by yyjsonlex().

◆ INT16_MAX

#define INT16_MAX   (32767)

Definition at line 331 of file json_lex.yy.cpp.

◆ INT16_MIN

#define INT16_MIN   (-32767-1)

Definition at line 322 of file json_lex.yy.cpp.

◆ INT32_MAX

#define INT32_MAX   (2147483647)

Definition at line 334 of file json_lex.yy.cpp.

◆ INT32_MIN

#define INT32_MIN   (-2147483647-1)

Definition at line 325 of file json_lex.yy.cpp.

◆ INT8_MAX

#define INT8_MAX   (127)

Definition at line 328 of file json_lex.yy.cpp.

◆ INT8_MIN

#define INT8_MIN   (-128)

Definition at line 319 of file json_lex.yy.cpp.

◆ PARSER

#define PARSER   json_parser

Definition at line 741 of file json_lex.yy.cpp.

◆ REJECT

#define REJECT   reject_used_but_not_detected

Definition at line 728 of file json_lex.yy.cpp.

◆ SIZE_MAX

#define SIZE_MAX   (~(size_t)0)

Definition at line 347 of file json_lex.yy.cpp.

◆ UINT16_MAX

#define UINT16_MAX   (65535U)

Definition at line 340 of file json_lex.yy.cpp.

◆ UINT32_MAX

#define UINT32_MAX   (4294967295U)

Definition at line 343 of file json_lex.yy.cpp.

◆ UINT8_MAX

#define UINT8_MAX   (255U)

Definition at line 337 of file json_lex.yy.cpp.

◆ unput

#define unput (   c)    yyunput( c, (yytext_ptr) )

Definition at line 441 of file json_lex.yy.cpp.

◆ YY_AT_BOL

#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 582 of file json_lex.yy.cpp.

◆ YY_BREAK

#define YY_BREAK   /*LINTED*/break;

Definition at line 925 of file json_lex.yy.cpp.

Referenced by yyjsonlex().

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

Definition at line 399 of file json_lex.yy.cpp.

Referenced by yyjsonlex(), and yyjsonrestart().

◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING   2

Definition at line 503 of file json_lex.yy.cpp.

Referenced by yy_get_next_buffer().

◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW   0

Definition at line 491 of file json_lex.yy.cpp.

Referenced by yyjson_flush_buffer(), yyjson_scan_buffer(), and yyjsonlex().

◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL   1

Definition at line 492 of file json_lex.yy.cpp.

Referenced by yyjsonlex().

◆ yy_create_buffer

#define yy_create_buffer   yyjson_create_buffer

Definition at line 9 of file json_lex.yy.cpp.

Referenced by yyjsonlex(), and yyjsonrestart().

◆ YY_CURRENT_BUFFER

#define YY_CURRENT_BUFFER
Value:
: NULL)
static YY_BUFFER_STATE * yy_buffer_stack
Stack as an array.
static size_t yy_buffer_stack_top
index of top of stack.

Definition at line 519 of file json_lex.yy.cpp.

Referenced by yyjson_delete_buffer(), yyjson_flush_buffer(), yyjson_init_buffer(), yyjson_switch_to_buffer(), yyjsonlex(), yyjsonlex_destroy(), yyjsonpop_buffer_state(), yyjsonpush_buffer_state(), and yyjsonrestart().

◆ YY_CURRENT_BUFFER_LVALUE

◆ YY_DECL

#define YY_DECL   int yylex (void)

Definition at line 913 of file json_lex.yy.cpp.

◆ YY_DECL_IS_OURS

#define YY_DECL_IS_OURS   1

Definition at line 909 of file json_lex.yy.cpp.

◆ yy_delete_buffer

#define yy_delete_buffer   yyjson_delete_buffer

Definition at line 10 of file json_lex.yy.cpp.

Referenced by yyjsonlex_destroy(), and yyjsonpop_buffer_state().

◆ YY_DO_BEFORE_ACTION

#define YY_DO_BEFORE_ACTION
Value:
(yytext_ptr) = yy_bp; \
yyleng = (int) (yy_cp - yy_bp); \
(yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
static char yy_hold_char
static char * yy_c_buf_p
#define yytext_ptr

Definition at line 609 of file json_lex.yy.cpp.

Referenced by yyjsonlex().

◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER   9

Definition at line 616 of file json_lex.yy.cpp.

Referenced by yyjsonlex().

◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR   0

◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE   2

Definition at line 1827 of file json_lex.yy.cpp.

Referenced by yy_fatal_error().

◆ YY_EXTRA_TYPE

#define YY_EXTRA_TYPE   void *

Definition at line 764 of file json_lex.yy.cpp.

◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR (   msg)    yy_fatal_error( msg )

◆ yy_flex_debug

#define yy_flex_debug   yyjson_flex_debug

Definition at line 21 of file json_lex.yy.cpp.

Referenced by yyjsonget_debug(), and yyjsonset_debug().

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 35 of file json_lex.yy.cpp.

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   6

Definition at line 36 of file json_lex.yy.cpp.

◆ YY_FLEX_SUBMINOR_VERSION

#define YY_FLEX_SUBMINOR_VERSION   4

Definition at line 37 of file json_lex.yy.cpp.

◆ yy_flush_buffer

#define yy_flush_buffer   yyjson_flush_buffer

Definition at line 15 of file json_lex.yy.cpp.

Referenced by yyjson_init_buffer().

◆ YY_FLUSH_BUFFER

#define YY_FLUSH_BUFFER   yy_flush_buffer( YY_CURRENT_BUFFER )

Definition at line 553 of file json_lex.yy.cpp.

◆ yy_init_buffer

#define yy_init_buffer   yyjson_init_buffer

Definition at line 14 of file json_lex.yy.cpp.

Referenced by yyjson_create_buffer(), and yyjsonrestart().

◆ YY_INPUT

#define YY_INPUT (   buf,
  result,
  max_size 
)
Value:
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
int n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ) \
buf[n++] = (char) c; \
if ( c == EOF && ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
else \
{ \
errno=0; \
while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
{ \
if( errno != EINTR) \
{ \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
break; \
} \
errno=0; \
clearerr(yyin); \
} \
}\
\
size_t yy_size_t
#define YY_CURRENT_BUFFER_LVALUE
#define yyin
Definition: json_lex.yy.cpp:22

Definition at line 853 of file json_lex.yy.cpp.

Referenced by yy_get_next_buffer().

◆ YY_INT_ALIGNED

#define YY_INT_ALIGNED   short int

Definition at line 5 of file json_lex.yy.cpp.

◆ YY_LESS_LINENO

#define YY_LESS_LINENO (   n)

Definition at line 425 of file json_lex.yy.cpp.

◆ YY_LINENO_REWIND_TO

#define YY_LINENO_REWIND_TO (   ptr)

Definition at line 426 of file json_lex.yy.cpp.

◆ yy_load_buffer_state

◆ YY_MORE_ADJ

#define YY_MORE_ADJ   0

Definition at line 730 of file json_lex.yy.cpp.

Referenced by yy_get_next_buffer(), yy_get_previous_state(), and yyjsonlex().

◆ yy_new_buffer

#define yy_new_buffer   yy_create_buffer

Definition at line 563 of file json_lex.yy.cpp.

◆ YY_NEW_FILE

#define YY_NEW_FILE   yyrestart( yyin )

Definition at line 387 of file json_lex.yy.cpp.

Referenced by yyjsonlex().

◆ YY_NO_INPUT

#define YY_NO_INPUT   1

Definition at line 737 of file json_lex.yy.cpp.

◆ YY_NO_UNISTD_H

#define YY_NO_UNISTD_H   1

Definition at line 738 of file json_lex.yy.cpp.

◆ YY_NULL

#define YY_NULL   0

Definition at line 366 of file json_lex.yy.cpp.

◆ YY_NUM_RULES

#define YY_NUM_RULES   8

Definition at line 615 of file json_lex.yy.cpp.

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

Definition at line 837 of file json_lex.yy.cpp.

Referenced by yy_get_next_buffer().

◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 731 of file json_lex.yy.cpp.

Referenced by yyjsonlex().

◆ YY_RULE_SETUP

#define YY_RULE_SETUP   YY_USER_ACTION

Definition at line 928 of file json_lex.yy.cpp.

Referenced by yyjsonlex().

◆ YY_SC_TO_UI

#define YY_SC_TO_UI (   c)    ((YY_CHAR) (c))

Definition at line 371 of file json_lex.yy.cpp.

Referenced by yy_get_previous_state(), and yyjsonlex().

◆ yy_scan_buffer

#define yy_scan_buffer   yyjson_scan_buffer

Definition at line 11 of file json_lex.yy.cpp.

Referenced by yyjson_scan_bytes().

◆ yy_scan_bytes

#define yy_scan_bytes   yyjson_scan_bytes

Definition at line 13 of file json_lex.yy.cpp.

Referenced by yyjson_scan_string().

◆ yy_scan_string

#define yy_scan_string   yyjson_scan_string

Definition at line 12 of file json_lex.yy.cpp.

◆ 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; \
}
#define YY_CURRENT_BUFFER
#define yyin
Definition: json_lex.yy.cpp:22
#define YY_BUF_SIZE

Definition at line 573 of file json_lex.yy.cpp.

◆ 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; \
}
#define YY_CURRENT_BUFFER
#define yyin
Definition: json_lex.yy.cpp:22
#define YY_BUF_SIZE

Definition at line 564 of file json_lex.yy.cpp.

◆ YY_SKIP_YYWRAP

#define YY_SKIP_YYWRAP

Definition at line 585 of file json_lex.yy.cpp.

◆ YY_START

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

Definition at line 382 of file json_lex.yy.cpp.

Referenced by yyjsonlex().

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

Definition at line 895 of file json_lex.yy.cpp.

◆ YY_STATE_BUF_SIZE

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

Definition at line 405 of file json_lex.yy.cpp.

◆ YY_STATE_EOF

#define YY_STATE_EOF (   state)    (YY_END_OF_BUFFER + state + 1)

Definition at line 385 of file json_lex.yy.cpp.

Referenced by yyjsonlex().

◆ YY_STRUCT_YY_BUFFER_STATE

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 444 of file json_lex.yy.cpp.

◆ yy_switch_to_buffer

#define yy_switch_to_buffer   yyjson_switch_to_buffer

Definition at line 17 of file json_lex.yy.cpp.

Referenced by yyjson_scan_buffer().

◆ YY_TYPEDEF_YY_BUFFER_STATE

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 408 of file json_lex.yy.cpp.

◆ YY_TYPEDEF_YY_SIZE_T

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 413 of file json_lex.yy.cpp.

◆ YY_USER_ACTION

#define YY_USER_ACTION

Definition at line 920 of file json_lex.yy.cpp.

◆ yyalloc

◆ yyconst

#define yyconst   const

Definition at line 357 of file json_lex.yy.cpp.

◆ yyensure_buffer_stack

#define yyensure_buffer_stack   yyjsonensure_buffer_stack

◆ yyfree

#define yyfree   yyjsonfree

Definition at line 32 of file json_lex.yy.cpp.

Referenced by yyjson_delete_buffer(), and yyjsonlex_destroy().

◆ yyget_debug

#define yyget_debug   yyjsonget_debug

Definition at line 147 of file json_lex.yy.cpp.

◆ yyget_extra

#define yyget_extra   yyjsonget_extra

Definition at line 159 of file json_lex.yy.cpp.

◆ yyget_in

#define yyget_in   yyjsonget_in

Definition at line 171 of file json_lex.yy.cpp.

◆ yyget_leng

#define yyget_leng   yyjsonget_leng

Definition at line 195 of file json_lex.yy.cpp.

◆ yyget_lineno

#define yyget_lineno   yyjsonget_lineno

Definition at line 207 of file json_lex.yy.cpp.

◆ yyget_out

#define yyget_out   yyjsonget_out

Definition at line 183 of file json_lex.yy.cpp.

◆ yyget_text

#define yyget_text   yyjsonget_text

Definition at line 201 of file json_lex.yy.cpp.

◆ yyin

◆ yyjson_create_buffer_ALREADY_DEFINED

#define yyjson_create_buffer_ALREADY_DEFINED

Definition at line 43 of file json_lex.yy.cpp.

◆ yyjson_delete_buffer_ALREADY_DEFINED

#define yyjson_delete_buffer_ALREADY_DEFINED

Definition at line 49 of file json_lex.yy.cpp.

◆ yyjson_flex_debug_ALREADY_DEFINED

#define yyjson_flex_debug_ALREADY_DEFINED

Definition at line 265 of file json_lex.yy.cpp.

◆ yyjson_flush_buffer_ALREADY_DEFINED

#define yyjson_flush_buffer_ALREADY_DEFINED

Definition at line 79 of file json_lex.yy.cpp.

◆ yyjson_init_buffer_ALREADY_DEFINED

#define yyjson_init_buffer_ALREADY_DEFINED

Definition at line 73 of file json_lex.yy.cpp.

◆ yyjson_load_buffer_state_ALREADY_DEFINED

#define yyjson_load_buffer_state_ALREADY_DEFINED

Definition at line 85 of file json_lex.yy.cpp.

◆ yyjson_scan_buffer_ALREADY_DEFINED

#define yyjson_scan_buffer_ALREADY_DEFINED

Definition at line 55 of file json_lex.yy.cpp.

◆ yyjson_scan_bytes_ALREADY_DEFINED

#define yyjson_scan_bytes_ALREADY_DEFINED

Definition at line 67 of file json_lex.yy.cpp.

◆ yyjson_scan_string_ALREADY_DEFINED

#define yyjson_scan_string_ALREADY_DEFINED

Definition at line 61 of file json_lex.yy.cpp.

◆ yyjson_switch_to_buffer_ALREADY_DEFINED

#define yyjson_switch_to_buffer_ALREADY_DEFINED

Definition at line 91 of file json_lex.yy.cpp.

◆ yyjsonalloc_ALREADY_DEFINED

#define yyjsonalloc_ALREADY_DEFINED

Definition at line 223 of file json_lex.yy.cpp.

◆ yyjsonensure_buffer_stack_ALREADY_DEFINED

#define yyjsonensure_buffer_stack_ALREADY_DEFINED

Definition at line 109 of file json_lex.yy.cpp.

◆ yyjsonfree_ALREADY_DEFINED

#define yyjsonfree_ALREADY_DEFINED

Definition at line 235 of file json_lex.yy.cpp.

◆ yyjsonin_ALREADY_DEFINED

#define yyjsonin_ALREADY_DEFINED

Definition at line 253 of file json_lex.yy.cpp.

◆ yyjsonleng_ALREADY_DEFINED

#define yyjsonleng_ALREADY_DEFINED

Definition at line 247 of file json_lex.yy.cpp.

◆ yyjsonlex_ALREADY_DEFINED

#define yyjsonlex_ALREADY_DEFINED

Definition at line 115 of file json_lex.yy.cpp.

◆ yyjsonlineno_ALREADY_DEFINED

#define yyjsonlineno_ALREADY_DEFINED

Definition at line 271 of file json_lex.yy.cpp.

◆ yyjsonout_ALREADY_DEFINED

#define yyjsonout_ALREADY_DEFINED

Definition at line 259 of file json_lex.yy.cpp.

◆ yyjsonpop_buffer_state_ALREADY_DEFINED

#define yyjsonpop_buffer_state_ALREADY_DEFINED

Definition at line 103 of file json_lex.yy.cpp.

◆ yyjsonpush_buffer_state_ALREADY_DEFINED

#define yyjsonpush_buffer_state_ALREADY_DEFINED

Definition at line 97 of file json_lex.yy.cpp.

◆ yyjsonrealloc_ALREADY_DEFINED

#define yyjsonrealloc_ALREADY_DEFINED

Definition at line 229 of file json_lex.yy.cpp.

◆ yyjsonrestart_ALREADY_DEFINED

#define yyjsonrestart_ALREADY_DEFINED

Definition at line 121 of file json_lex.yy.cpp.

◆ yyjsontext_ALREADY_DEFINED

#define yyjsontext_ALREADY_DEFINED

Definition at line 241 of file json_lex.yy.cpp.

◆ yyjsonwrap

#define yyjsonwrap ( )    (/*CONSTCOND*/1)

Definition at line 584 of file json_lex.yy.cpp.

◆ yyjsonwrap_ALREADY_DEFINED

#define yyjsonwrap_ALREADY_DEFINED

Definition at line 217 of file json_lex.yy.cpp.

◆ yyleng

#define yyleng   yyjsonleng

Definition at line 23 of file json_lex.yy.cpp.

Referenced by yyjsonget_leng().

◆ 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);\
*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 )
static char yy_hold_char
static char * yy_c_buf_p
#define YY_MORE_ADJ

Definition at line 1839 of file json_lex.yy.cpp.

◆ 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);\
yytext[yyleng] = (yy_hold_char); \
(yy_c_buf_p) = yytext + yyless_macro_arg; \
*(yy_c_buf_p) = '\0'; \
yyleng = yyless_macro_arg; \
} \
while ( 0 )
static char yy_hold_char
static char * yy_c_buf_p
#define yyleng
Definition: json_lex.yy.cpp:23
#define yytext
Definition: json_lex.yy.cpp:28

Definition at line 1839 of file json_lex.yy.cpp.

◆ yylex

#define yylex   yyjsonlex

Definition at line 24 of file json_lex.yy.cpp.

◆ yylex_destroy

#define yylex_destroy   yyjsonlex_destroy

Definition at line 141 of file json_lex.yy.cpp.

◆ yylex_init

#define yylex_init   yyjsonlex_init

Definition at line 129 of file json_lex.yy.cpp.

◆ yylex_init_extra

#define yylex_init_extra   yyjsonlex_init_extra

Definition at line 135 of file json_lex.yy.cpp.

◆ yylineno

#define yylineno   yyjsonlineno

Definition at line 25 of file json_lex.yy.cpp.

Referenced by yyjsonget_lineno(), and yyjsonset_lineno().

◆ yymore

#define yymore ( )    yymore_used_but_not_detected

Definition at line 729 of file json_lex.yy.cpp.

◆ yynoreturn

#define yynoreturn

Definition at line 362 of file json_lex.yy.cpp.

◆ yyout

#define yyout   yyjsonout

Definition at line 26 of file json_lex.yy.cpp.

Referenced by yy_init_globals(), yyjsonget_out(), yyjsonlex(), and yyjsonset_out().

◆ yypop_buffer_state

#define yypop_buffer_state   yyjsonpop_buffer_state

Definition at line 19 of file json_lex.yy.cpp.

Referenced by yyjsonlex_destroy().

◆ yypush_buffer_state

#define yypush_buffer_state   yyjsonpush_buffer_state

Definition at line 18 of file json_lex.yy.cpp.

◆ yyrealloc

#define yyrealloc   yyjsonrealloc

Definition at line 31 of file json_lex.yy.cpp.

Referenced by yy_get_next_buffer(), and yyjsonensure_buffer_stack().

◆ yyrestart

#define yyrestart   yyjsonrestart

Definition at line 27 of file json_lex.yy.cpp.

Referenced by yy_get_next_buffer().

◆ yyset_debug

#define yyset_debug   yyjsonset_debug

Definition at line 153 of file json_lex.yy.cpp.

◆ yyset_extra

#define yyset_extra   yyjsonset_extra

Definition at line 165 of file json_lex.yy.cpp.

◆ yyset_in

#define yyset_in   yyjsonset_in

Definition at line 177 of file json_lex.yy.cpp.

◆ yyset_lineno

#define yyset_lineno   yyjsonset_lineno

Definition at line 213 of file json_lex.yy.cpp.

◆ yyset_out

#define yyset_out   yyjsonset_out

Definition at line 189 of file json_lex.yy.cpp.

◆ YYSTATE

#define YYSTATE   YY_START

Definition at line 383 of file json_lex.yy.cpp.

◆ YYTABLES_NAME

#define YYTABLES_NAME   "yytables"

Definition at line 2031 of file json_lex.yy.cpp.

◆ yyterminate

#define yyterminate ( )    return YY_NULL

Definition at line 890 of file json_lex.yy.cpp.

Referenced by yyjsonlex().

◆ yytext

#define yytext   yyjsontext

Definition at line 28 of file json_lex.yy.cpp.

Referenced by yyjsonget_text(), and yyjsonlex().

◆ yytext_ptr

#define yytext_ptr   yytext

◆ yywrap

#define yywrap   yyjsonwrap

Definition at line 29 of file json_lex.yy.cpp.

Referenced by yyjsonlex().

Typedef Documentation

◆ flex_int16_t

typedef short int flex_int16_t

Definition at line 311 of file json_lex.yy.cpp.

◆ flex_int32_t

typedef int flex_int32_t

Definition at line 312 of file json_lex.yy.cpp.

◆ flex_int8_t

typedef signed char flex_int8_t

Definition at line 310 of file json_lex.yy.cpp.

◆ flex_uint16_t

typedef unsigned short int flex_uint16_t

Definition at line 314 of file json_lex.yy.cpp.

◆ flex_uint32_t

typedef unsigned int flex_uint32_t

Definition at line 315 of file json_lex.yy.cpp.

◆ flex_uint8_t

typedef unsigned char flex_uint8_t

Definition at line 313 of file json_lex.yy.cpp.

◆ YY_BUFFER_STATE

Definition at line 409 of file json_lex.yy.cpp.

◆ YY_CHAR

Definition at line 586 of file json_lex.yy.cpp.

◆ yy_size_t

typedef size_t yy_size_t

Definition at line 414 of file json_lex.yy.cpp.

◆ yy_state_type

typedef int yy_state_type

Definition at line 590 of file json_lex.yy.cpp.

Function Documentation

◆ yy_fatal_error()

static void yy_fatal_error ( const char *  msg)
static

Definition at line 1830 of file json_lex.yy.cpp.

References YY_EXIT_FAILURE.

◆ yy_get_next_buffer()

◆ yy_get_previous_state()

static yy_state_type yy_get_previous_state ( void  )
static

◆ yy_init_globals()

static int yy_init_globals ( void  )
static

◆ yy_try_NUL_trans()

static yy_state_type yy_try_NUL_trans ( yy_state_type  current_state)
static

◆ yyjson_create_buffer()

YY_BUFFER_STATE yyjson_create_buffer ( FILE *  file,
int  size 
)

Allocate and initialize an input buffer state.

Parameters
fileA readable stream.
sizeThe character buffer size in bytes. When in doubt, use YY_BUF_SIZE.
Returns
the allocated buffer state.

Definition at line 1544 of file json_lex.yy.cpp.

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.

◆ yyjson_delete_buffer()

void yyjson_delete_buffer ( YY_BUFFER_STATE  b)

Destroy the buffer.

Parameters
ba buffer created with yy_create_buffer()

Definition at line 1572 of file json_lex.yy.cpp.

References yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_buffer_state::yy_is_our_buffer, and yyfree.

◆ yyjson_flush_buffer()

void yyjson_flush_buffer ( YY_BUFFER_STATE  b)

Discard all buffered characters.

On the next scan, YY_INPUT will be called.

Parameters
bthe buffer state to be flushed, usually YY_CURRENT_BUFFER.

Definition at line 1619 of file json_lex.yy.cpp.

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.

◆ yyjson_init_buffer()

◆ yyjson_load_buffer_state()

static void yyjson_load_buffer_state ( void  )
static

◆ yyjson_scan_buffer()

YY_BUFFER_STATE yyjson_scan_buffer ( char *  base,
yy_size_t  size 
)

Setup the input buffer state to scan directly from a user-specified character buffer.

Parameters
basethe character buffer
sizethe size in bytes of the character buffer
Returns
the newly allocated buffer state object.

Definition at line 1746 of file json_lex.yy.cpp.

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.

◆ yyjson_scan_bytes()

YY_BUFFER_STATE yyjson_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
yybytesthe byte buffer to scan
_yybytes_lenthe number of bytes in the buffer pointed to by bytes.
Returns
the newly allocated buffer state object.

Definition at line 1796 of file json_lex.yy.cpp.

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

◆ yyjson_scan_string()

YY_BUFFER_STATE yyjson_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
yystra 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 1783 of file json_lex.yy.cpp.

References yy_scan_bytes.

◆ yyjson_switch_to_buffer()

void yyjson_switch_to_buffer ( YY_BUFFER_STATE  new_buffer)

Switch to a different input buffer.

Parameters
new_bufferThe new input buffer.

Definition at line 1499 of file json_lex.yy.cpp.

References yy_c_buf_p, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_did_buffer_switch_on_eof, yy_hold_char, yy_load_buffer_state, yy_n_chars, and yyensure_buffer_stack.

◆ yyjsonalloc()

void * yyjsonalloc ( yy_size_t  size)

Definition at line 2008 of file json_lex.yy.cpp.

References malloc().

◆ yyjsonensure_buffer_stack()

static void yyjsonensure_buffer_stack ( void  )
static

◆ yyjsonfree()

void yyjsonfree ( void *  ptr)

Definition at line 2026 of file json_lex.yy.cpp.

References free().

◆ yyjsonget_debug()

int yyjsonget_debug ( void  )

Definition at line 1923 of file json_lex.yy.cpp.

References yy_flex_debug.

◆ yyjsonget_extra()

void* yyjsonget_extra ( void  )

◆ yyjsonget_in()

FILE * yyjsonget_in ( void  )

Get the input stream.

Definition at line 1867 of file json_lex.yy.cpp.

References yyin.

◆ yyjsonget_leng()

int yyjsonget_leng ( void  )

Get the length of the current token.

Definition at line 1883 of file json_lex.yy.cpp.

References yyleng.

◆ yyjsonget_lineno()

int yyjsonget_lineno ( void  )

Get the current line number.

Definition at line 1858 of file json_lex.yy.cpp.

References yylineno.

◆ yyjsonget_out()

FILE * yyjsonget_out ( void  )

Get the output stream.

Definition at line 1875 of file json_lex.yy.cpp.

References yyout.

◆ yyjsonget_text()

char * yyjsonget_text ( void  )

Get the current token.

Definition at line 1892 of file json_lex.yy.cpp.

References yytext.

◆ yyjsonlex()

◆ yyjsonlex_destroy()

int yyjsonlex_destroy ( void  )

◆ yyjsonpop_buffer_state()

void yyjsonpop_buffer_state ( void  )

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

The next element becomes the new top.

Definition at line 1678 of file json_lex.yy.cpp.

References yy_buffer_stack_top, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_delete_buffer, yy_did_buffer_switch_on_eof, and yy_load_buffer_state.

◆ yyjsonpush_buffer_state()

void yyjsonpush_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_bufferThe new state.

Definition at line 1648 of file json_lex.yy.cpp.

References yy_buffer_stack_top, yy_c_buf_p, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_did_buffer_switch_on_eof, yy_hold_char, yy_load_buffer_state, yy_n_chars, and yyensure_buffer_stack.

◆ yyjsonrealloc()

void * yyjsonrealloc ( void *  ptr,
yy_size_t  size 
)

Definition at line 2013 of file json_lex.yy.cpp.

◆ yyjsonrestart()

void yyjsonrestart ( FILE *  input_file)

Immediately switch to a different input stream.

Parameters
input_fileA readable stream.
Note
This function does not reset the start condition to INITIAL .

Definition at line 1482 of file json_lex.yy.cpp.

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.

Referenced by json_parsert::clear().

◆ yyjsonset_debug()

void yyjsonset_debug ( int  debug_flag)

Definition at line 1928 of file json_lex.yy.cpp.

References yy_flex_debug.

◆ yyjsonset_extra()

void yyjsonset_extra ( void *  user_defined)

◆ yyjsonset_in()

void yyjsonset_in ( FILE *  _in_str)

Set the input stream.

This does not discard the current input buffer.

Parameters
_in_strA readable stream.
See also
yy_switch_to_buffer

Definition at line 1913 of file json_lex.yy.cpp.

References yyin.

◆ yyjsonset_lineno()

void yyjsonset_lineno ( int  _line_number)

Set the current line number.

Parameters
_line_numberline number

Definition at line 1901 of file json_lex.yy.cpp.

References yylineno.

◆ yyjsonset_out()

void yyjsonset_out ( FILE *  _out_str)

Definition at line 1918 of file json_lex.yy.cpp.

References yyout.

Variable Documentation

◆ yy_accept

const flex_int16_t yy_accept[43]
static
Initial value:
=
{ 0,
0, 0, 9, 7, 6, 6, 6, 7, 2, 2,
7, 7, 7, 0, 1, 0, 2, 2, 0, 0,
0, 2, 0, 0, 0, 1, 2, 2, 0, 2,
0, 0, 0, 0, 0, 0, 5, 3, 0, 2,
4, 0
}

Definition at line 624 of file json_lex.yy.cpp.

Referenced by yy_get_previous_state(), yy_try_NUL_trans(), and yyjsonlex().

◆ yy_base

const flex_int16_t yy_base[44]
static
Initial value:
=
{ 0,
0, 0, 71, 72, 72, 72, 17, 14, 17, 17,
58, 49, 51, 25, 72, 27, 0, 24, 26, 34,
0, 0, 52, 51, 45, 33, 0, 37, 40, 43,
46, 48, 49, 48, 0, 42, 72, 72, 50, 52,
72, 72, 40
}

Definition at line 671 of file json_lex.yy.cpp.

Referenced by yy_get_previous_state(), yy_try_NUL_trans(), and yyjsonlex().

◆ yy_buffer_stack

YY_BUFFER_STATE* yy_buffer_stack = NULL
static

Stack as an array.

Definition at line 511 of file json_lex.yy.cpp.

Referenced by yy_init_globals(), yyjsonensure_buffer_stack(), and yyjsonlex_destroy().

◆ yy_buffer_stack_max

size_t yy_buffer_stack_max = 0
static

capacity of stack.

Definition at line 510 of file json_lex.yy.cpp.

Referenced by yy_init_globals(), and yyjsonensure_buffer_stack().

◆ yy_buffer_stack_top

size_t yy_buffer_stack_top = 0
static

index of top of stack.

Definition at line 509 of file json_lex.yy.cpp.

Referenced by yy_init_globals(), yyjsonensure_buffer_stack(), yyjsonpop_buffer_state(), and yyjsonpush_buffer_state().

◆ yy_c_buf_p

◆ yy_chk

const flex_int16_t yy_chk[93]
static
Initial value:
=
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
7, 8, 8, 9, 10, 10, 9, 7, 14, 9,
16, 18, 18, 19, 19, 14, 26, 16, 20, 20,
43, 20, 20, 26, 28, 28, 28, 29, 29, 28,
30, 30, 34, 34, 36, 34, 34, 39, 39, 40,
40, 33, 32, 31, 25, 24, 23, 13, 12, 11,
3, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42
}

Definition at line 704 of file json_lex.yy.cpp.

Referenced by yy_get_previous_state(), yy_try_NUL_trans(), and yyjsonlex().

◆ yy_def

const flex_int16_t yy_def[44]
static
Initial value:
=
{ 0,
42, 1, 42, 42, 42, 42, 43, 42, 42, 9,
42, 42, 42, 43, 42, 43, 9, 9, 42, 42,
20, 10, 42, 42, 42, 43, 18, 42, 42, 42,
42, 42, 42, 42, 34, 42, 42, 42, 42, 42,
42, 0, 42
}

Definition at line 680 of file json_lex.yy.cpp.

Referenced by yy_get_previous_state(), yy_try_NUL_trans(), and yyjsonlex().

◆ yy_did_buffer_switch_on_eof

int yy_did_buffer_switch_on_eof
static

◆ yy_ec

const YY_CHAR yy_ec[256]
static

Definition at line 633 of file json_lex.yy.cpp.

Referenced by yy_get_previous_state(), and yyjsonlex().

◆ yy_hold_char

char yy_hold_char
static

◆ yy_init

int yy_init = 0
static

Definition at line 534 of file json_lex.yy.cpp.

Referenced by yy_init_globals(), and yyjsonlex().

◆ yy_last_accepting_cpos

char* yy_last_accepting_cpos
static

Definition at line 720 of file json_lex.yy.cpp.

Referenced by yy_get_previous_state(), yy_try_NUL_trans(), and yyjsonlex().

◆ yy_last_accepting_state

yy_state_type yy_last_accepting_state
static

Definition at line 719 of file json_lex.yy.cpp.

Referenced by yy_get_previous_state(), yy_try_NUL_trans(), and yyjsonlex().

◆ yy_meta

const YY_CHAR yy_meta[21]
static
Initial value:
=
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1
}

Definition at line 665 of file json_lex.yy.cpp.

Referenced by yy_get_previous_state(), yy_try_NUL_trans(), and yyjsonlex().

◆ yy_n_chars

◆ yy_nxt

const flex_int16_t yy_nxt[93]
static
Initial value:
=
{ 0,
4, 5, 6, 7, 4, 8, 4, 9, 10, 4,
4, 4, 4, 11, 4, 12, 4, 4, 13, 4,
15, 17, 18, 19, 22, 22, 20, 16, 15, 21,
26, 27, 27, 28, 28, 16, 15, 16, 29, 29,
14, 30, 30, 16, 28, 28, 34, 30, 30, 35,
30, 30, 39, 39, 41, 40, 40, 40, 40, 40,
40, 38, 37, 36, 33, 32, 31, 25, 24, 23,
42, 3, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42
}

Definition at line 689 of file json_lex.yy.cpp.

Referenced by yy_get_previous_state(), yy_try_NUL_trans(), and yyjsonlex().

◆ yy_start

int yy_start = 0
static

Definition at line 535 of file json_lex.yy.cpp.

Referenced by yy_get_previous_state(), yy_init_globals(), and yyjsonlex().

◆ yyjson_flex_debug

int yyjson_flex_debug = 0

Definition at line 723 of file json_lex.yy.cpp.

◆ yyjsonin

FILE * yyjsonin = NULL

Definition at line 588 of file json_lex.yy.cpp.

◆ yyjsonleng

int yyjsonleng

Definition at line 530 of file json_lex.yy.cpp.

◆ yyjsonlineno

int yyjsonlineno = 1

Definition at line 593 of file json_lex.yy.cpp.

◆ yyjsonout

FILE * yyjsonout = NULL

Definition at line 588 of file json_lex.yy.cpp.

◆ yyjsontext

char * yyjsontext

Definition at line 732 of file json_lex.yy.cpp.