Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
yyFlexLexer Class Reference

#include <FlexLexer.h>

+ Inheritance diagram for yyFlexLexer:
+ Collaboration diagram for yyFlexLexer:

Public Member Functions

 yyFlexLexer (std::istream *arg_yyin=0, std::ostream *arg_yyout=0)
virtual ~yyFlexLexer ()
virtual void switch_streams (std::istream *new_in, std::ostream *new_out=0)
struct yy_buffer_stateyy_create_buffer (std::istream *s, int size)
void yy_delete_buffer (struct yy_buffer_state *b)
void yy_switch_to_buffer (struct yy_buffer_state *new_buffer)
virtual int yylex ()
void yypop_buffer_state ()
void yypush_buffer_state (struct yy_buffer_state *new_buffer)
void yyrestart (std::istream *s)
virtual int yywrap ()
- Public Member Functions inherited from FlexLexer
virtual ~FlexLexer ()
int debug () const
int lineno () const
void set_debug (int flag)
int YYLeng () const
int yylex (std::istream *new_in, std::ostream *new_out=0)
const char * YYText () const

Protected Member Functions

virtual void LexerError (const char *msg)
virtual int LexerInput (char *buf, int max_size)
virtual void LexerOutput (const char *buf, int size)
void yy_flush_buffer (struct yy_buffer_state *b)
int yy_get_next_buffer ()
yy_state_type yy_get_previous_state ()
void yy_init_buffer (struct yy_buffer_state *b, std::istream *s)
void yy_load_buffer_state ()
void yy_pop_state ()
void yy_push_state (int new_state)
int yy_top_state ()
yy_state_type yy_try_NUL_trans (yy_state_type current_state)
void yyensure_buffer_stack (void)
int yyinput ()
void yyunput (int c, char *buf_ptr)

Protected Attributes

struct yy_buffer_state ** yy_buffer_stack
size_t yy_buffer_stack_max
size_t yy_buffer_stack_top
char * yy_c_buf_p
int yy_did_buffer_switch_on_eof
int yy_full_lp
char * yy_full_match
int * yy_full_state
char yy_hold_char
int yy_init
char * yy_last_accepting_cpos
yy_state_type yy_last_accepting_state
int yy_looking_for_trail_begin
int yy_lp
int yy_more_flag
int yy_more_len
int yy_more_offset
int yy_n_chars
int yy_prev_more_offset
int yy_start
int * yy_start_stack
int yy_start_stack_depth
int yy_start_stack_ptr
yy_state_typeyy_state_buf
yy_state_typeyy_state_ptr
std::istream * yyin
std::ostream * yyout
- Protected Attributes inherited from FlexLexer
int yy_flex_debug
int yyleng
int yylineno
char * yytext

Constructor & Destructor Documentation

yyFlexLexer::yyFlexLexer ( std::istream *  arg_yyin = 0,
std::ostream *  arg_yyout = 0 
)
yyFlexLexer::~yyFlexLexer ( )
virtual

Member Function Documentation

void yyFlexLexer::LexerError ( const char *  msg)
protectedvirtual
int yyFlexLexer::LexerInput ( char *  buf,
int  max_size 
)
protectedvirtual
void yyFlexLexer::LexerOutput ( const char *  buf,
int  size 
)
protectedvirtual
void yyFlexLexer::switch_streams ( std::istream *  new_in,
std::ostream *  new_out = 0 
)
virtual

Implements FlexLexer.

YY_BUFFER_STATE yyFlexLexer::yy_create_buffer ( std::istream *  file,
int  size 
)
readvirtual

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.

Implements FlexLexer.

void yyFlexLexer::yy_delete_buffer ( struct yy_buffer_state b)
virtual

Destroy the buffer.

Parameters
ba buffer created with yy_create_buffer()

Implements FlexLexer.

void yyFlexLexer::yy_flush_buffer ( struct yy_buffer_state b)
protected

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

Parameters
bthe buffer state to be flushed, usually YY_CURRENT_BUFFER.
int yyFlexLexer::yy_get_next_buffer ( )
protected
yy_state_type yyFlexLexer::yy_get_previous_state ( )
protected
void yyFlexLexer::yy_init_buffer ( struct yy_buffer_state b,
std::istream *  s 
)
protected
void yyFlexLexer::yy_load_buffer_state ( )
protected
void yyFlexLexer::yy_pop_state ( )
protected
void yyFlexLexer::yy_push_state ( int  new_state)
protected
void yyFlexLexer::yy_switch_to_buffer ( struct yy_buffer_state new_buffer)
virtual

Switch to a different input buffer.

Parameters
new_bufferThe new input buffer.

Implements FlexLexer.

int yyFlexLexer::yy_top_state ( )
protected
yy_state_type yyFlexLexer::yy_try_NUL_trans ( yy_state_type  current_state)
protected
void yyFlexLexer::yyensure_buffer_stack ( void  )
protected
int yyFlexLexer::yyinput ( )
protected
int yyFlexLexer::yylex ( )
virtual

The main scanner function which does all the work.

Implements FlexLexer.

void yyFlexLexer::yypop_buffer_state ( void  )

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

void yyFlexLexer::yypush_buffer_state ( struct 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.
void yyFlexLexer::yyrestart ( std::istream *  input_file)
virtual

Immediately switch to a different input stream.

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

Implements FlexLexer.

void yyFlexLexer::yyunput ( int  c,
char *  buf_ptr 
)
protected
int yyFlexLexer::yywrap ( )
virtual

Member Data Documentation

struct yy_buffer_state** yyFlexLexer::yy_buffer_stack
protected

Stack as an array.

size_t yyFlexLexer::yy_buffer_stack_max
protected

capacity of stack.

size_t yyFlexLexer::yy_buffer_stack_top
protected

index of top of stack.

char* yyFlexLexer::yy_c_buf_p
protected
int yyFlexLexer::yy_did_buffer_switch_on_eof
protected
int yyFlexLexer::yy_full_lp
protected
char* yyFlexLexer::yy_full_match
protected
int* yyFlexLexer::yy_full_state
protected
char yyFlexLexer::yy_hold_char
protected
int yyFlexLexer::yy_init
protected
char* yyFlexLexer::yy_last_accepting_cpos
protected
yy_state_type yyFlexLexer::yy_last_accepting_state
protected
int yyFlexLexer::yy_looking_for_trail_begin
protected
int yyFlexLexer::yy_lp
protected
int yyFlexLexer::yy_more_flag
protected
int yyFlexLexer::yy_more_len
protected
int yyFlexLexer::yy_more_offset
protected
int yyFlexLexer::yy_n_chars
protected
int yyFlexLexer::yy_prev_more_offset
protected
int yyFlexLexer::yy_start
protected
int* yyFlexLexer::yy_start_stack
protected
int yyFlexLexer::yy_start_stack_depth
protected
int yyFlexLexer::yy_start_stack_ptr
protected
yy_state_type* yyFlexLexer::yy_state_buf
protected
yy_state_type* yyFlexLexer::yy_state_ptr
protected
std:: istream* yyFlexLexer::yyin
protected
std:: ostream* yyFlexLexer::yyout
protected

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