casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
yyFlexLexer Class Reference

#include <ds9FlexLexer.h>

Inheritance diagram for yyFlexLexer:
FlexLexer

Public Member Functions

 yyFlexLexer (FLEX_STD istream *arg_yyin=0, FLEX_STD ostream *arg_yyout=0)
 arg_yyin and arg_yyout default to the cin and cout, but we only make that assignment when initializing in yylex(). More...
 
virtual ~yyFlexLexer ()
 
void yy_switch_to_buffer (struct yy_buffer_state *new_buffer)
 
struct yy_buffer_state * yy_create_buffer (FLEX_STD istream *s, int size)
 
void yy_delete_buffer (struct yy_buffer_state *b)
 
void yyrestart (FLEX_STD istream *s)
 
void yypush_buffer_state (struct yy_buffer_state *new_buffer)
 
void yypop_buffer_state ()
 
virtual int yylex ()
 
virtual void switch_streams (FLEX_STD istream *new_in, FLEX_STD ostream *new_out=0)
 Switch to new input/output streams. More...
 
virtual int yywrap ()
 
- Public Member Functions inherited from FlexLexer
virtual ~FlexLexer ()
 
const char * YYText () const
 
int YYLeng () const
 
int yylex (FLEX_STD istream *new_in, FLEX_STD ostream *new_out=0)
 Call yylex with new input/output sources. More...
 
int lineno () const
 
int debug () const
 
void set_debug (int flag)
 

Protected Member Functions

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

Protected Attributes

int yy_start_stack_ptr
 
int yy_start_stack_depth
 
int * yy_start_stack
 
FLEX_STD istream * yyin
 
FLEX_STD ostream * yyout
 
char yy_hold_char
 yy_hold_char holds the character lost when yytext is formed. More...
 
int yy_n_chars
 Number of characters read into yy_ch_buf. More...
 
char * yy_c_buf_p
 Points to current character in buffer. More...
 
int yy_init
 
int yy_start
 
int yy_did_buffer_switch_on_eof
 Flag which is used to allow yywrap()'s to do buffer switches instead of setting up a fresh yyin. More...
 
size_t yy_buffer_stack_top
 index of top of stack. More...
 
size_t yy_buffer_stack_max
 capacity of stack. More...
 
struct yy_buffer_state ** yy_buffer_stack
 casacore::Stack as an array. More...
 
yy_state_type yy_last_accepting_state
 The following are not always needed, but may be depending on use of certain flex features (like REJECT or yymore()). More...
 
char * yy_last_accepting_cpos
 
yy_state_typeyy_state_buf
 
yy_state_typeyy_state_ptr
 
char * yy_full_match
 
int * yy_full_state
 
int yy_full_lp
 
int yy_lp
 
int yy_looking_for_trail_begin
 
int yy_more_flag
 
int yy_more_len
 
int yy_more_offset
 
int yy_prev_more_offset
 
- Protected Attributes inherited from FlexLexer
char * yytext
 
int yyleng
 
int yylineno
 
int yy_flex_debug
 

Detailed Description

Definition at line 121 of file ds9FlexLexer.h.

Constructor & Destructor Documentation

yyFlexLexer::yyFlexLexer ( FLEX_STD istream *  arg_yyin = 0,
FLEX_STD ostream *  arg_yyout = 0 
)

arg_yyin and arg_yyout default to the cin and cout, but we only make that assignment when initializing in yylex().

virtual yyFlexLexer::~yyFlexLexer ( )
virtual

Member Function Documentation

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

Switch to new input/output streams.

A nil stream pointer indicates "keep the current one".

Implements FlexLexer.

struct yy_buffer_state* yyFlexLexer::yy_create_buffer ( FLEX_STD istream *  s,
int  size 
)
virtual

Implements FlexLexer.

void yyFlexLexer::yy_delete_buffer ( struct yy_buffer_state *  b)
virtual

Implements FlexLexer.

void yyFlexLexer::yy_flush_buffer ( struct yy_buffer_state *  b)
protected
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,
FLEX_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

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
virtual int yyFlexLexer::yylex ( )
virtual

Implements FlexLexer.

void yyFlexLexer::yypop_buffer_state ( )
void yyFlexLexer::yypush_buffer_state ( struct yy_buffer_state *  new_buffer)
void yyFlexLexer::yyrestart ( FLEX_STD istream *  s)
virtual

Implements FlexLexer.

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

Member Data Documentation

struct yy_buffer_state** yyFlexLexer::yy_buffer_stack
protected

casacore::Stack as an array.

Definition at line 187 of file ds9FlexLexer.h.

size_t yyFlexLexer::yy_buffer_stack_max
protected

capacity of stack.

Definition at line 186 of file ds9FlexLexer.h.

size_t yyFlexLexer::yy_buffer_stack_top
protected

index of top of stack.

Definition at line 185 of file ds9FlexLexer.h.

char* yyFlexLexer::yy_c_buf_p
protected

Points to current character in buffer.

Definition at line 175 of file ds9FlexLexer.h.

int yyFlexLexer::yy_did_buffer_switch_on_eof
protected

Flag which is used to allow yywrap()'s to do buffer switches instead of setting up a fresh yyin.

A bit of a hack...

Definition at line 182 of file ds9FlexLexer.h.

int yyFlexLexer::yy_full_lp
protected

Definition at line 201 of file ds9FlexLexer.h.

char* yyFlexLexer::yy_full_match
protected

Definition at line 199 of file ds9FlexLexer.h.

int* yyFlexLexer::yy_full_state
protected

Definition at line 200 of file ds9FlexLexer.h.

char yyFlexLexer::yy_hold_char
protected

yy_hold_char holds the character lost when yytext is formed.

Definition at line 169 of file ds9FlexLexer.h.

int yyFlexLexer::yy_init
protected

Definition at line 177 of file ds9FlexLexer.h.

char* yyFlexLexer::yy_last_accepting_cpos
protected

Definition at line 194 of file ds9FlexLexer.h.

yy_state_type yyFlexLexer::yy_last_accepting_state
protected

The following are not always needed, but may be depending on use of certain flex features (like REJECT or yymore()).

Definition at line 193 of file ds9FlexLexer.h.

int yyFlexLexer::yy_looking_for_trail_begin
protected

Definition at line 204 of file ds9FlexLexer.h.

int yyFlexLexer::yy_lp
protected

Definition at line 203 of file ds9FlexLexer.h.

int yyFlexLexer::yy_more_flag
protected

Definition at line 206 of file ds9FlexLexer.h.

int yyFlexLexer::yy_more_len
protected

Definition at line 207 of file ds9FlexLexer.h.

int yyFlexLexer::yy_more_offset
protected

Definition at line 208 of file ds9FlexLexer.h.

int yyFlexLexer::yy_n_chars
protected

Number of characters read into yy_ch_buf.

Definition at line 172 of file ds9FlexLexer.h.

int yyFlexLexer::yy_prev_more_offset
protected

Definition at line 209 of file ds9FlexLexer.h.

int yyFlexLexer::yy_start
protected

Definition at line 178 of file ds9FlexLexer.h.

int* yyFlexLexer::yy_start_stack
protected

Definition at line 155 of file ds9FlexLexer.h.

int yyFlexLexer::yy_start_stack_depth
protected

Definition at line 154 of file ds9FlexLexer.h.

int yyFlexLexer::yy_start_stack_ptr
protected

Definition at line 153 of file ds9FlexLexer.h.

yy_state_type* yyFlexLexer::yy_state_buf
protected

Definition at line 196 of file ds9FlexLexer.h.

yy_state_type* yyFlexLexer::yy_state_ptr
protected

Definition at line 197 of file ds9FlexLexer.h.

FLEX_STD istream* yyFlexLexer::yyin
protected

Definition at line 165 of file ds9FlexLexer.h.

FLEX_STD ostream* yyFlexLexer::yyout
protected

Definition at line 166 of file ds9FlexLexer.h.


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