Apache HTTPD
Classes | Macros | Typedefs | Functions | Variables
util_expr_scan.c File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include "util_expr_private.h"
#include "util_expr_parse.h"

Go to the source code of this file.

Classes

struct  yy_buffer_state
 
struct  yy_trans_info
 
struct  yyguts_t
 

Macros

#define YY_INT_ALIGNED   short int
 
#define FLEX_SCANNER
 
#define YY_FLEX_MAJOR_VERSION   2
 
#define YY_FLEX_MINOR_VERSION   5
 
#define YY_FLEX_SUBMINOR_VERSION   35
 
#define FLEX_BETA
 
#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 yyconst
 
#define YY_NULL   0
 
#define YY_SC_TO_UI(c)   ((unsigned int) (unsigned char) c)
 
#define YY_TYPEDEF_YY_SCANNER_T
 
#define yyin   yyg->yyin_r
 
#define yyout   yyg->yyout_r
 
#define yyextra   yyg->yyextra_r
 
#define yyleng   yyg->yyleng_r
 
#define yytext   yyg->yytext_r
 
#define yylineno   (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
 
#define yycolumn   (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
 
#define yy_flex_debug   yyg->yy_flex_debug_r
 
#define BEGIN   yyg->yy_start = 1 + 2 *
 
#define YY_START   ((yyg->yy_start - 1) / 2)
 
#define YYSTATE   YY_START
 
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
 
#define YY_NEW_FILE   ap_expr_yyrestart(yyin ,yyscanner )
 
#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 EOB_ACT_CONTINUE_SCAN   0
 
#define EOB_ACT_END_OF_FILE   1
 
#define EOB_ACT_LAST_MATCH   2
 
#define YY_LESS_LINENO(n)
 
#define yyless(n)
 
#define unput(c)   yyunput( c, yyg->yytext_ptr , yyscanner )
 
#define YY_TYPEDEF_YY_SIZE_T
 
#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   yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
 
#define YY_FLUSH_BUFFER   ap_expr_yy_flush_buffer(YY_CURRENT_BUFFER ,yyscanner)
 
#define yy_new_buffer   ap_expr_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 ap_expr_yywrap(n)   1
 
#define YY_SKIP_YYWRAP
 
#define yytext_ptr   yytext_r
 
#define YY_DO_BEFORE_ACTION
 
#define YY_NUM_RULES   67
 
#define YY_END_OF_BUFFER   68
 
#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_INPUT(buf, result, max_size)
 
#define YY_EXTRA_TYPE   ap_expr_parse_ctx_t*
 
#define PERROR(msg)   do { yyextra->error2 = msg ; return T_ERROR; } while (0)
 
#define str_ptr   (yyextra->scan_ptr)
 
#define str_buf   (yyextra->scan_buf)
 
#define str_del   (yyextra->scan_del)
 
#define STR_APPEND(c)
 
#define INITIAL   0
 
#define str   1
 
#define var   2
 
#define vararg   3
 
#define regex   4
 
#define regex_flags   5
 
#define yylval   yyg->yylval_r
 
#define YY_READ_BUF_SIZE   8192
 
#define ECHO   do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
 
#define yyterminate()   return YY_NULL
 
#define YY_START_STACK_INCR   25
 
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg , yyscanner)
 
#define YY_DECL_IS_OURS   1
 
#define YY_DECL
 
#define YY_USER_ACTION
 
#define YY_BREAK   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 void * yyscan_t
 
typedef struct yy_buffer_stateYY_BUFFER_STATE
 
typedef size_t yy_size_t
 
typedef unsigned char YY_CHAR
 
typedef int yy_state_type
 

Functions

void ap_expr_yyrestart (FILE *input_file, yyscan_t yyscanner)
 
void ap_expr_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner)
 
YY_BUFFER_STATE ap_expr_yy_create_buffer (FILE *file, int size, yyscan_t yyscanner)
 
void ap_expr_yy_delete_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner)
 
void ap_expr_yy_flush_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner)
 
void ap_expr_yypush_buffer_state (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner)
 
void ap_expr_yypop_buffer_state (yyscan_t yyscanner)
 
static void ap_expr_yyensure_buffer_stack (yyscan_t yyscanner)
 
static void ap_expr_yy_load_buffer_state (yyscan_t yyscanner)
 
static void ap_expr_yy_init_buffer (YY_BUFFER_STATE b, FILE *file, yyscan_t yyscanner)
 
YY_BUFFER_STATE ap_expr_yy_scan_buffer (char *base, yy_size_t size, yyscan_t yyscanner)
 
YY_BUFFER_STATE ap_expr_yy_scan_string (char *yy_str, yyscan_t yyscanner)
 
YY_BUFFER_STATE ap_expr_yy_scan_bytes (char *bytes, int len, yyscan_t yyscanner)
 
void * ap_expr_yyalloc (yy_size_t, yyscan_t yyscanner)
 
void * ap_expr_yyrealloc (void *, yy_size_t, yyscan_t yyscanner)
 
void ap_expr_yyfree (void *, yyscan_t yyscanner)
 
static yy_state_type yy_get_previous_state (yyscan_t yyscanner)
 
static yy_state_type yy_try_NUL_trans (yy_state_type current_state, yyscan_t yyscanner)
 
static int yy_get_next_buffer (yyscan_t yyscanner)
 
static void yy_fatal_error (char msg[], yyscan_t yyscanner)
 
static int yy_init_globals (yyscan_t yyscanner)
 
int ap_expr_yylex_init (yyscan_t *scanner)
 
int ap_expr_yylex_init_extra (ap_expr_parse_ctx_t *user_defined, yyscan_t *scanner)
 
int ap_expr_yylex_destroy (yyscan_t yyscanner)
 
int ap_expr_yyget_debug (yyscan_t yyscanner)
 
void ap_expr_yyset_debug (int debug_flag, yyscan_t yyscanner)
 
ap_expr_parse_ctx_tap_expr_yyget_extra (yyscan_t yyscanner)
 
void ap_expr_yyset_extra (ap_expr_parse_ctx_t *user_defined, yyscan_t yyscanner)
 
FILEap_expr_yyget_in (yyscan_t yyscanner)
 
void ap_expr_yyset_in (FILE *in_str, yyscan_t yyscanner)
 
FILEap_expr_yyget_out (yyscan_t yyscanner)
 
void ap_expr_yyset_out (FILE *out_str, yyscan_t yyscanner)
 
int ap_expr_yyget_leng (yyscan_t yyscanner)
 
charap_expr_yyget_text (yyscan_t yyscanner)
 
int ap_expr_yyget_lineno (yyscan_t yyscanner)
 
void ap_expr_yyset_lineno (int line_number, yyscan_t yyscanner)
 
YYSTYPEap_expr_yyget_lval (yyscan_t yyscanner)
 
void ap_expr_yyset_lval (YYSTYPE *yylval_param, yyscan_t yyscanner)
 
static void yy_push_state (int new_state, yyscan_t yyscanner)
 
static void yy_pop_state (yyscan_t yyscanner)
 
int ap_expr_yylex (YYSTYPE *yylval_param, yyscan_t yyscanner)
 
static void yy_fatal_error (char *msg, yyscan_t yyscanner)
 

Variables

static flex_int16_t yy_accept [124]
 
static flex_int32_t yy_ec [256]
 
static flex_int32_t yy_meta [44]
 
static flex_int16_t yy_base [133]
 
static flex_int16_t yy_def [133]
 
static flex_int16_t yy_nxt [319]
 
static flex_int16_t yy_chk [319]
 

Macro Definition Documentation

◆ ap_expr_yywrap

#define ap_expr_yywrap (   n)    1

Definition at line 337 of file util_expr_scan.c.

◆ BEGIN

#define BEGIN   yyg->yy_start = 1 + 2 *

Definition at line 143 of file util_expr_scan.c.

◆ ECHO

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

Definition at line 763 of file util_expr_scan.c.

◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 182 of file util_expr_scan.c.

◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE   1

Definition at line 183 of file util_expr_scan.c.

◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH   2

Definition at line 184 of file util_expr_scan.c.

◆ FLEX_BETA

#define FLEX_BETA

Definition at line 14 of file util_expr_scan.c.

◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 9 of file util_expr_scan.c.

◆ FLEXINT_H

#define FLEXINT_H

Definition at line 30 of file util_expr_scan.c.

◆ INITIAL

#define INITIAL   0

Definition at line 616 of file util_expr_scan.c.

◆ INT16_MAX

#define INT16_MAX   (32767)

Definition at line 72 of file util_expr_scan.c.

◆ INT16_MIN

#define INT16_MIN   (-32767-1)

Definition at line 63 of file util_expr_scan.c.

◆ INT32_MAX

#define INT32_MAX   (2147483647)

Definition at line 75 of file util_expr_scan.c.

◆ INT32_MIN

#define INT32_MIN   (-2147483647-1)

Definition at line 66 of file util_expr_scan.c.

◆ INT8_MAX

#define INT8_MAX   (127)

Definition at line 69 of file util_expr_scan.c.

◆ INT8_MIN

#define INT8_MIN   (-128)

Definition at line 60 of file util_expr_scan.c.

◆ PERROR

#define PERROR (   msg)    do { yyextra->error2 = msg ; return T_ERROR; } while (0)

Definition at line 602 of file util_expr_scan.c.

◆ regex

#define regex   4

Definition at line 620 of file util_expr_scan.c.

◆ regex_flags

#define regex_flags   5

Definition at line 621 of file util_expr_scan.c.

◆ REJECT

Definition at line 548 of file util_expr_scan.c.

◆ str

#define str   1

Definition at line 617 of file util_expr_scan.c.

◆ STR_APPEND

#define STR_APPEND (   c)
Value:
do { \
*str_ptr++ = (c); \
if (str_ptr >= str_buf + sizeof(str_buf)) \
PERROR("String too long"); \
} while (0)
apr_size_t size
apr_vformatter_buff_t * c
Definition apr_lib.h:175
#define str_buf
#define str_ptr

Definition at line 608 of file util_expr_scan.c.

◆ str_buf

#define str_buf   (yyextra->scan_buf)

Definition at line 605 of file util_expr_scan.c.

◆ str_del

#define str_del   (yyextra->scan_del)

Definition at line 606 of file util_expr_scan.c.

◆ str_ptr

#define str_ptr   (yyextra->scan_ptr)

Definition at line 604 of file util_expr_scan.c.

◆ UINT16_MAX

#define UINT16_MAX   (65535U)

Definition at line 81 of file util_expr_scan.c.

◆ UINT32_MAX

#define UINT32_MAX   (4294967295U)

Definition at line 84 of file util_expr_scan.c.

◆ UINT8_MAX

#define UINT8_MAX   (255U)

Definition at line 78 of file util_expr_scan.c.

◆ unput

#define unput (   c)    yyunput( c, yyg->yytext_ptr , yyscanner )

Definition at line 202 of file util_expr_scan.c.

◆ var

#define var   2

Definition at line 618 of file util_expr_scan.c.

◆ vararg

#define vararg   3

Definition at line 619 of file util_expr_scan.c.

◆ YY_AT_BOL

#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 333 of file util_expr_scan.c.

◆ YY_BREAK

#define YY_BREAK   break;

Definition at line 844 of file util_expr_scan.c.

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

Definition at line 169 of file util_expr_scan.c.

◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING   2

Definition at line 269 of file util_expr_scan.c.

◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW   0

Definition at line 257 of file util_expr_scan.c.

◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL   1

Definition at line 258 of file util_expr_scan.c.

◆ YY_CURRENT_BUFFER

#define YY_CURRENT_BUFFER
Value:
( yyg->yy_buffer_stack \
? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
: NULL)
return NULL
Definition mod_so.c:359

Definition at line 280 of file util_expr_scan.c.

◆ YY_CURRENT_BUFFER_LVALUE

#define YY_CURRENT_BUFFER_LVALUE   yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]

Definition at line 287 of file util_expr_scan.c.

◆ YY_DECL

#define YY_DECL
Value:
#define yyscanner
void * yyscan_t
int ap_expr_yylex(YYSTYPE *yylval_param, yyscan_t yyscanner)

Definition at line 831 of file util_expr_scan.c.

◆ YY_DECL_IS_OURS

#define YY_DECL_IS_OURS   1

Definition at line 826 of file util_expr_scan.c.

◆ YY_DO_BEFORE_ACTION

#define YY_DO_BEFORE_ACTION
Value:
yyg->yytext_ptr = yy_bp; \
yyleng = (size_t) (yy_cp - yy_bp); \
yyg->yy_hold_char = *yy_cp; \
*yy_cp = '\0'; \
yyg->yy_c_buf_p = yy_cp;
#define yyleng

Definition at line 354 of file util_expr_scan.c.

◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER   68

Definition at line 362 of file util_expr_scan.c.

◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 158 of file util_expr_scan.c.

◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE   2

Definition at line 2324 of file util_expr_scan.c.

◆ YY_EXTRA_TYPE

#define YY_EXTRA_TYPE   ap_expr_parse_ctx_t*

Definition at line 600 of file util_expr_scan.c.

◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR (   msg)    yy_fatal_error( msg , yyscanner)

Definition at line 817 of file util_expr_scan.c.

◆ yy_flex_debug

#define yy_flex_debug   yyg->yy_flex_debug_r

Definition at line 137 of file util_expr_scan.c.

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 10 of file util_expr_scan.c.

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   5

Definition at line 11 of file util_expr_scan.c.

◆ YY_FLEX_SUBMINOR_VERSION

#define YY_FLEX_SUBMINOR_VERSION   35

Definition at line 12 of file util_expr_scan.c.

◆ YY_FLUSH_BUFFER

Definition at line 301 of file util_expr_scan.c.

◆ YY_INPUT

#define YY_INPUT (   buf,
  result,
  max_size 
)
Value:
{ \
if ((result = MIN(max_size, yyextra->inputbuf \
+ yyextra->inputlen \
- yyextra->inputptr)) <= 0) \
{ \
} \
else { \
memcpy(buf, yyextra->inputptr, result); \
yyextra->inputptr += result; \
} \
}
const unsigned char * buf
Definition util_md5.h:50
#define MIN(a, b)
Definition cache_util.h:82
apr_array_header_t ** result
#define yyextra
#define YY_NULL

Definition at line 586 of file util_expr_scan.c.

◆ YY_INT_ALIGNED

#define YY_INT_ALIGNED   short int

Definition at line 5 of file util_expr_scan.c.

◆ YY_LESS_LINENO

#define YY_LESS_LINENO (   n)

Definition at line 186 of file util_expr_scan.c.

◆ YY_MORE_ADJ

#define YY_MORE_ADJ   0

Definition at line 550 of file util_expr_scan.c.

◆ yy_new_buffer

#define yy_new_buffer   ap_expr_yy_create_buffer

Definition at line 311 of file util_expr_scan.c.

◆ YY_NEW_FILE

#define YY_NEW_FILE   ap_expr_yyrestart(yyin ,yyscanner )

Definition at line 156 of file util_expr_scan.c.

◆ YY_NO_INPUT

#define YY_NO_INPUT   1

Definition at line 576 of file util_expr_scan.c.

◆ YY_NULL

#define YY_NULL   0

Definition at line 113 of file util_expr_scan.c.

◆ YY_NUM_RULES

#define YY_NUM_RULES   67

Definition at line 361 of file util_expr_scan.c.

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

Definition at line 754 of file util_expr_scan.c.

◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 551 of file util_expr_scan.c.

◆ YY_RULE_SETUP

#define YY_RULE_SETUP    YY_USER_ACTION

Definition at line 847 of file util_expr_scan.c.

◆ YY_SC_TO_UI

#define YY_SC_TO_UI (   c)    ((unsigned int) (unsigned char) c)

Definition at line 120 of file util_expr_scan.c.

◆ yy_set_bol

#define yy_set_bol (   at_bol)
Value:

Definition at line 323 of file util_expr_scan.c.

◆ yy_set_interactive

#define yy_set_interactive (   is_interactive)

◆ YY_SKIP_YYWRAP

#define YY_SKIP_YYWRAP

Definition at line 338 of file util_expr_scan.c.

◆ YY_START

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

Definition at line 149 of file util_expr_scan.c.

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

Definition at line 812 of file util_expr_scan.c.

◆ YY_STATE_BUF_SIZE

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

Definition at line 175 of file util_expr_scan.c.

◆ YY_STATE_EOF

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

Definition at line 153 of file util_expr_scan.c.

◆ YY_STRUCT_YY_BUFFER_STATE

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 210 of file util_expr_scan.c.

◆ YY_TYPEDEF_YY_BUFFER_STATE

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 178 of file util_expr_scan.c.

◆ YY_TYPEDEF_YY_SCANNER_T

#define YY_TYPEDEF_YY_SCANNER_T

Definition at line 124 of file util_expr_scan.c.

◆ YY_TYPEDEF_YY_SIZE_T

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 205 of file util_expr_scan.c.

◆ YY_USER_ACTION

#define YY_USER_ACTION

Definition at line 839 of file util_expr_scan.c.

◆ yycolumn

#define yycolumn   (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)

Definition at line 136 of file util_expr_scan.c.

◆ yyconst

#define yyconst

Definition at line 109 of file util_expr_scan.c.

◆ yyextra

#define yyextra   yyg->yyextra_r

Definition at line 132 of file util_expr_scan.c.

◆ yyin

#define yyin   yyg->yyin_r

Definition at line 130 of file util_expr_scan.c.

◆ yyleng

#define yyleng   yyg->yyleng_r

Definition at line 133 of file util_expr_scan.c.

◆ yyless [1/2]

#define yyless (   n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
*yy_cp = yyg->yy_hold_char; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
int n
Definition ap_regex.h:278
#define YY_MORE_ADJ
#define YY_DO_BEFORE_ACTION

Definition at line 189 of file util_expr_scan.c.

◆ yyless [2/2]

#define yyless (   n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
yytext[yyleng] = yyg->yy_hold_char; \
yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
yyg->yy_hold_char = *yyg->yy_c_buf_p; \
*yyg->yy_c_buf_p = '\0'; \
} \
while ( 0 )
#define yytext

Definition at line 189 of file util_expr_scan.c.

◆ yylineno

#define yylineno   (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)

Definition at line 135 of file util_expr_scan.c.

◆ yylval

#define yylval   yyg->yylval_r

Definition at line 675 of file util_expr_scan.c.

◆ yymore

Definition at line 549 of file util_expr_scan.c.

◆ yyout

#define yyout   yyg->yyout_r

Definition at line 131 of file util_expr_scan.c.

◆ YYSTATE

#define YYSTATE   YY_START

Definition at line 150 of file util_expr_scan.c.

◆ YYTABLES_NAME

#define YYTABLES_NAME   "yytables"

Definition at line 2662 of file util_expr_scan.c.

◆ yyterminate

#define yyterminate ( )    return YY_NULL

Definition at line 807 of file util_expr_scan.c.

◆ yytext

#define yytext   yyg->yytext_r

Definition at line 134 of file util_expr_scan.c.

◆ yytext_ptr

#define yytext_ptr   yytext_r

Definition at line 344 of file util_expr_scan.c.

Typedef Documentation

◆ flex_int16_t

Definition at line 52 of file util_expr_scan.c.

◆ flex_int32_t

Definition at line 53 of file util_expr_scan.c.

◆ flex_int8_t

Definition at line 51 of file util_expr_scan.c.

◆ flex_uint16_t

Definition at line 55 of file util_expr_scan.c.

◆ flex_uint32_t

Definition at line 56 of file util_expr_scan.c.

◆ flex_uint8_t

Definition at line 54 of file util_expr_scan.c.

◆ YY_BUFFER_STATE

Definition at line 179 of file util_expr_scan.c.

◆ YY_CHAR

Definition at line 340 of file util_expr_scan.c.

◆ yy_size_t

Definition at line 206 of file util_expr_scan.c.

◆ yy_state_type

Definition at line 342 of file util_expr_scan.c.

◆ yyscan_t

Definition at line 125 of file util_expr_scan.c.

Function Documentation

◆ ap_expr_yy_create_buffer()

YY_BUFFER_STATE ap_expr_yy_create_buffer ( FILE file,
int  size,
yyscan_t  yyscanner 
)

Allocate and initialize an input buffer state.

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

Definition at line 2001 of file util_expr_scan.c.

◆ ap_expr_yy_delete_buffer()

void ap_expr_yy_delete_buffer ( YY_BUFFER_STATE  b,
yyscan_t  yyscanner 
)

Destroy the buffer.

Parameters
ba buffer created with ap_expr_yy_create_buffer()
yyscannerThe scanner object.

Definition at line 2029 of file util_expr_scan.c.

◆ ap_expr_yy_flush_buffer()

void ap_expr_yy_flush_buffer ( YY_BUFFER_STATE  b,
yyscan_t  yyscanner 
)

Discard all buffered characters. On the next scan, YY_INPUT will be called.

Parameters
bthe buffer state to be flushed, usually YY_CURRENT_BUFFER.
yyscannerThe scanner object.

Definition at line 2078 of file util_expr_scan.c.

◆ ap_expr_yy_init_buffer()

static void ap_expr_yy_init_buffer ( YY_BUFFER_STATE  b,
FILE file,
yyscan_t  yyscanner 
)
static

Definition at line 2049 of file util_expr_scan.c.

◆ ap_expr_yy_load_buffer_state()

static void ap_expr_yy_load_buffer_state ( yyscan_t  yyscanner)
static

Definition at line 1986 of file util_expr_scan.c.

◆ ap_expr_yy_scan_buffer()

YY_BUFFER_STATE ap_expr_yy_scan_buffer ( char base,
yy_size_t  size,
yyscan_t  yyscanner 
)

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
yyscannerThe scanner object.
Returns
the newly allocated buffer state object.

Definition at line 2209 of file util_expr_scan.c.

◆ ap_expr_yy_scan_bytes()

YY_BUFFER_STATE ap_expr_yy_scan_bytes ( char yybytes,
int  _yybytes_len,
yyscan_t  yyscanner 
)

Setup the input buffer state to scan the given bytes. The next call to ap_expr_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.
yyscannerThe scanner object.
Returns
the newly allocated buffer state object.

Definition at line 2259 of file util_expr_scan.c.

◆ ap_expr_yy_scan_string()

YY_BUFFER_STATE ap_expr_yy_scan_string ( char yystr,
yyscan_t  yyscanner 
)

Setup the input buffer state to scan a string. The next call to ap_expr_yylex() will scan from a copy of str.

Parameters
yystra NUL-terminated string to scan
yyscannerThe scanner object.
Returns
the newly allocated buffer state object.
Note
If you want to scan bytes that may contain NUL values, then use ap_expr_yy_scan_bytes() instead.

Definition at line 2246 of file util_expr_scan.c.

◆ ap_expr_yy_switch_to_buffer()

void ap_expr_yy_switch_to_buffer ( YY_BUFFER_STATE  new_buffer,
yyscan_t  yyscanner 
)

Switch to a different input buffer.

Parameters
new_bufferThe new input buffer.
yyscannerThe scanner object.

Definition at line 1954 of file util_expr_scan.c.

◆ ap_expr_yyalloc()

void * ap_expr_yyalloc ( yy_size_t  size,
yyscan_t  yyscanner 
)

Definition at line 2640 of file util_expr_scan.c.

◆ ap_expr_yyensure_buffer_stack()

static void ap_expr_yyensure_buffer_stack ( yyscan_t  yyscanner)
static

Definition at line 2159 of file util_expr_scan.c.

◆ ap_expr_yyfree()

void ap_expr_yyfree ( void *  ptr,
yyscan_t  yyscanner 
)

Definition at line 2657 of file util_expr_scan.c.

◆ ap_expr_yyget_debug()

int ap_expr_yyget_debug ( yyscan_t  yyscanner)

Definition at line 2463 of file util_expr_scan.c.

◆ ap_expr_yyget_extra()

ap_expr_parse_ctx_t * ap_expr_yyget_extra ( yyscan_t  yyscanner)

Get the user-defined data for this scanner.

Parameters
yyscannerThe scanner object.

Definition at line 2355 of file util_expr_scan.c.

◆ ap_expr_yyget_in()

FILE * ap_expr_yyget_in ( yyscan_t  yyscanner)

Get the current column number.

Parameters
yyscannerThe scanner object. Get the input stream.
yyscannerThe scanner object.

Definition at line 2381 of file util_expr_scan.c.

◆ ap_expr_yyget_leng()

int ap_expr_yyget_leng ( yyscan_t  yyscanner)

Get the length of the current token.

Parameters
yyscannerThe scanner object.

Definition at line 2399 of file util_expr_scan.c.

◆ ap_expr_yyget_lineno()

int ap_expr_yyget_lineno ( yyscan_t  yyscanner)

Get the current line number.

Parameters
yyscannerThe scanner object.

Definition at line 2364 of file util_expr_scan.c.

◆ ap_expr_yyget_lval()

YYSTYPE * ap_expr_yyget_lval ( yyscan_t  yyscanner)

Definition at line 2477 of file util_expr_scan.c.

◆ ap_expr_yyget_out()

FILE * ap_expr_yyget_out ( yyscan_t  yyscanner)

Get the output stream.

Parameters
yyscannerThe scanner object.

Definition at line 2390 of file util_expr_scan.c.

◆ ap_expr_yyget_text()

char * ap_expr_yyget_text ( yyscan_t  yyscanner)

Get the current token.

Parameters
yyscannerThe scanner object.

Definition at line 2409 of file util_expr_scan.c.

◆ ap_expr_yylex()

int ap_expr_yylex ( YYSTYPE yylval_param,
yyscan_t  yyscanner 
)
extern

The main scanner function which does all the work.

Definition at line 852 of file util_expr_scan.c.

◆ ap_expr_yylex_destroy()

int ap_expr_yylex_destroy ( yyscan_t  yyscanner)

Definition at line 2587 of file util_expr_scan.c.

◆ ap_expr_yylex_init()

int ap_expr_yylex_init ( yyscan_t scanner)

Definition at line 2496 of file util_expr_scan.c.

◆ ap_expr_yylex_init_extra()

int ap_expr_yylex_init_extra ( ap_expr_parse_ctx_t user_defined,
yyscan_t scanner 
)

Definition at line 2525 of file util_expr_scan.c.

◆ ap_expr_yypop_buffer_state()

void ap_expr_yypop_buffer_state ( yyscan_t  yyscanner)

Removes and deletes the top of the stack, if present. The next element becomes the new top.

Parameters
yyscannerThe scanner object.

Definition at line 2139 of file util_expr_scan.c.

◆ ap_expr_yypush_buffer_state()

void ap_expr_yypush_buffer_state ( YY_BUFFER_STATE  new_buffer,
yyscan_t  yyscanner 
)

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.
yyscannerThe scanner object.

Definition at line 2108 of file util_expr_scan.c.

◆ ap_expr_yyrealloc()

void * ap_expr_yyrealloc ( void *  ptr,
yy_size_t  size,
yyscan_t  yyscanner 
)

Definition at line 2645 of file util_expr_scan.c.

◆ ap_expr_yyrestart()

void ap_expr_yyrestart ( FILE input_file,
yyscan_t  yyscanner 
)

Immediately switch to a different input stream.

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

Definition at line 1936 of file util_expr_scan.c.

◆ ap_expr_yyset_debug()

void ap_expr_yyset_debug ( int  debug_flag,
yyscan_t  yyscanner 
)

Definition at line 2469 of file util_expr_scan.c.

◆ ap_expr_yyset_extra()

void ap_expr_yyset_extra ( ap_expr_parse_ctx_t user_defined,
yyscan_t  yyscanner 
)

Set the user-defined data. This data is never touched by the scanner.

Parameters
user_definedThe data to be associated with this scanner.
yyscannerThe scanner object.

Definition at line 2419 of file util_expr_scan.c.

◆ ap_expr_yyset_in()

void ap_expr_yyset_in ( FILE in_str,
yyscan_t  yyscanner 
)

Set the current column.

Parameters
line_number
yyscannerThe scanner object. Set the input stream. This does not discard the current input buffer.
in_strA readable stream.
yyscannerThe scanner object.
See also
ap_expr_yy_switch_to_buffer

Definition at line 2451 of file util_expr_scan.c.

◆ ap_expr_yyset_lineno()

void ap_expr_yyset_lineno ( int  line_number,
yyscan_t  yyscanner 
)

Set the current line number.

Parameters
line_number
yyscannerThe scanner object.

Definition at line 2429 of file util_expr_scan.c.

◆ ap_expr_yyset_lval()

void ap_expr_yyset_lval ( YYSTYPE yylval_param,
yyscan_t  yyscanner 
)

Definition at line 2483 of file util_expr_scan.c.

◆ ap_expr_yyset_out()

void ap_expr_yyset_out ( FILE out_str,
yyscan_t  yyscanner 
)

Definition at line 2457 of file util_expr_scan.c.

◆ yy_fatal_error() [1/2]

static void yy_fatal_error ( char msg,
yyscan_t  yyscanner 
)
static

Definition at line 2327 of file util_expr_scan.c.

◆ yy_fatal_error() [2/2]

static void yy_fatal_error ( char  msg[],
yyscan_t  yyscanner 
)
static

◆ yy_get_next_buffer()

static int yy_get_next_buffer ( yyscan_t  yyscanner)
static

Definition at line 1664 of file util_expr_scan.c.

◆ yy_get_previous_state()

static yy_state_type yy_get_previous_state ( yyscan_t  yyscanner)
static

Definition at line 1799 of file util_expr_scan.c.

◆ yy_init_globals()

static int yy_init_globals ( yyscan_t  yyscanner)
static

Definition at line 2553 of file util_expr_scan.c.

◆ yy_pop_state()

static void yy_pop_state ( yyscan_t  yyscanner)
static

Definition at line 2314 of file util_expr_scan.c.

◆ yy_push_state()

static void yy_push_state ( int  new_state,
yyscan_t  yyscanner 
)
static

Definition at line 2289 of file util_expr_scan.c.

◆ yy_try_NUL_trans()

static yy_state_type yy_try_NUL_trans ( yy_state_type  current_state,
yyscan_t  yyscanner 
)
static

Definition at line 1832 of file util_expr_scan.c.

Variable Documentation

◆ yy_accept

flex_int16_t yy_accept[124]
static
Initial value:
=
{ 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 68, 66, 1, 43, 2, 66, 66, 66,
65, 66, 44, 26, 63, 32, 30, 34, 64, 64,
64, 64, 64, 64, 64, 64, 64, 64, 64, 66,
14, 4, 3, 17, 17, 67, 17, 23, 4, 22,
20, 21, 67, 16, 16, 24, 27, 29, 28, 1,
31, 37, 19, 18, 39, 63, 59, 59, 59, 59,
59, 59, 33, 30, 36, 35, 64, 64, 57, 64,
55, 54, 58, 53, 52, 25, 25, 56, 64, 40,
64, 41, 14, 13, 15, 12, 5, 6, 10, 11,
7, 8, 9, 20, 60, 46, 48, 50, 45, 49,
51, 47, 38, 64, 42, 64, 5, 6, 64, 61,
5, 62, 0
}

Definition at line 370 of file util_expr_scan.c.

◆ yy_base

flex_int16_t yy_base[133]
static
Initial value:
=
{ 0,
0, 0, 41, 47, 89, 0, 130, 136, 0, 0,
147, 146, 175, 275, 54, 28, 275, 43, 134, 164,
275, 164, 275, 275, 45, 152, 32, 151, 0, 136,
133, 143, 26, 133, 35, 194, 38, 129, 128, 122,
0, 275, 275, 51, 122, 221, 275, 275, 275, 275,
0, 275, 275, 61, 121, 275, 275, 275, 275, 76,
275, 275, 275, 275, 275, 65, 0, 125, 47, 126,
107, 130, 275, 275, 275, 275, 0, 130, 0, 124,
0, 0, 0, 0, 0, 275, 0, 0, 104, 0,
101, 275, 0, 275, 275, 275, 71, 131, 275, 275,
275, 275, 275, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 99, 0, 61, 133, 135, 57, 0,
138, 0, 275, 259, 262, 265, 79, 67, 268, 271,
65, 42
}

Definition at line 429 of file util_expr_scan.c.

◆ yy_chk

flex_int16_t yy_chk[319]
static

Definition at line 506 of file util_expr_scan.c.

◆ yy_def

flex_int16_t yy_def[133]
static
Initial value:
=
{ 0,
123, 1, 124, 124, 123, 5, 124, 124, 125, 125,
126, 126, 123, 123, 123, 123, 123, 123, 123, 123,
123, 127, 123, 123, 123, 123, 123, 123, 128, 128,
128, 128, 128, 128, 128, 128, 128, 128, 128, 123,
129, 123, 123, 123, 123, 130, 123, 123, 123, 123,
131, 123, 123, 123, 123, 123, 123, 123, 123, 123,
123, 123, 123, 123, 123, 123, 132, 132, 132, 132,
132, 132, 123, 123, 123, 123, 128, 128, 128, 128,
128, 128, 128, 128, 128, 123, 128, 128, 128, 128,
128, 123, 129, 123, 123, 123, 123, 123, 123, 123,
123, 123, 123, 131, 132, 132, 132, 132, 132, 132,
132, 132, 128, 128, 128, 128, 123, 123, 128, 128,
123, 128, 0, 123, 123, 123, 123, 123, 123, 123,
123, 123
}

Definition at line 448 of file util_expr_scan.c.

◆ yy_ec

flex_int32_t yy_ec[256]
static

Definition at line 388 of file util_expr_scan.c.

◆ yy_meta

flex_int32_t yy_meta[44]
static
Initial value:
=
{ 0,
1, 1, 2, 1, 2, 1, 2, 2, 1, 1,
1, 1, 1, 1, 3, 3, 1, 1, 1, 1,
3, 2, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 1,
1, 2, 1
}

Definition at line 420 of file util_expr_scan.c.

◆ yy_nxt

flex_int16_t yy_nxt[319]
static

Definition at line 467 of file util_expr_scan.c.