PIPS
yy_buffer_state Struct Reference

#include <clexer.h>

Data Fields

FILE * yy_input_file
 
char * yy_ch_buf
 
char * yy_buf_pos
 input buffer More...
 
int yy_buf_size
 current position in input buffer More...
 
int yy_n_chars
 Number of characters read into yy_ch_buf, not including EOB characters. More...
 
int yy_is_our_buffer
 Whether we "own" the buffer - i.e., we know we created it, and can realloc() it to grow it, and should free() it to delete it. More...
 
int yy_is_interactive
 Whether this is an "interactive" input source; if so, and if we're using stdio for input, then we want to use getc() instead of fread(), to make sure we stop fetching input after each newline. More...
 
int yy_at_bol
 Whether we're considered to be at the beginning of a line. More...
 
int yy_bs_lineno
 The line count. More...
 
int yy_bs_column
 The column count. More...
 
int yy_fill_buffer
 Whether to try to fill the input buffer when we reach the end of it. More...
 
int yy_buffer_status
 

Detailed Description

Definition at line 444 of file genread_lex.c.

Field Documentation

◆ yy_at_bol

int yy_buffer_state::yy_at_bol

Whether we're considered to be at the beginning of a line.

If so, '^' rules will be active on the next match, otherwise not.

Definition at line 478 of file genread_lex.c.

◆ yy_bs_column

int yy_buffer_state::yy_bs_column

The column count.

Definition at line 481 of file genread_lex.c.

◆ yy_bs_lineno

int yy_buffer_state::yy_bs_lineno

The line count.

Definition at line 480 of file genread_lex.c.

◆ yy_buf_pos

char * yy_buffer_state::yy_buf_pos

input buffer

Definition at line 449 of file genread_lex.c.

◆ yy_buf_size

int yy_buffer_state::yy_buf_size

current position in input buffer

Size of input buffer in bytes, not including room for EOB characters.

Definition at line 454 of file genread_lex.c.

◆ yy_buffer_status

int yy_buffer_state::yy_buffer_status

Definition at line 488 of file genread_lex.c.

◆ yy_ch_buf

char * yy_buffer_state::yy_ch_buf

Definition at line 448 of file genread_lex.c.

◆ yy_fill_buffer

int yy_buffer_state::yy_fill_buffer

Whether to try to fill the input buffer when we reach the end of it.

Definition at line 486 of file genread_lex.c.

◆ yy_input_file

FILE * yy_buffer_state::yy_input_file

Definition at line 446 of file genread_lex.c.

◆ yy_is_interactive

int yy_buffer_state::yy_is_interactive

Whether this is an "interactive" input source; if so, and if we're using stdio for input, then we want to use getc() instead of fread(), to make sure we stop fetching input after each newline.

Definition at line 472 of file genread_lex.c.

◆ yy_is_our_buffer

int yy_buffer_state::yy_is_our_buffer

Whether we "own" the buffer - i.e., we know we created it, and can realloc() it to grow it, and should free() it to delete it.

Definition at line 465 of file genread_lex.c.

◆ yy_n_chars

int yy_buffer_state::yy_n_chars

Number of characters read into yy_ch_buf, not including EOB characters.

Definition at line 459 of file genread_lex.c.


The documentation for this struct was generated from the following files: