casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
FlexLexer Class Reference

#include <ds9FlexLexer.h>

Inheritance diagram for FlexLexer:
yyFlexLexer

List of all members.

Public Member Functions

virtual ~FlexLexer ()
const char * YYText () const
int YYLeng () const
virtual void yy_switch_to_buffer (struct yy_buffer_state *new_buffer)=0
virtual struct yy_buffer_state * yy_create_buffer (FLEX_STD istream *s, int size)=0
virtual void yy_delete_buffer (struct yy_buffer_state *b)=0
virtual void yyrestart (FLEX_STD istream *s)=0
virtual int yylex ()=0
int yylex (FLEX_STD istream *new_in, FLEX_STD ostream *new_out=0)
 Call yylex with new input/output sources.
virtual void switch_streams (FLEX_STD istream *new_in=0, FLEX_STD ostream *new_out=0)=0
 Switch to new input/output streams.
int lineno () const
int debug () const
void set_debug (int flag)

Protected Attributes

char * yytext
int yyleng
int yylineno
int yy_flex_debug

Detailed Description

Definition at line 61 of file ds9FlexLexer.h.


Constructor & Destructor Documentation

virtual FlexLexer::~FlexLexer ( ) [inline, virtual]

Definition at line 63 of file ds9FlexLexer.h.


Member Function Documentation

int FlexLexer::debug ( ) const [inline]

Definition at line 91 of file ds9FlexLexer.h.

References yy_flex_debug.

int FlexLexer::lineno ( ) const [inline]

Definition at line 89 of file ds9FlexLexer.h.

References yylineno.

void FlexLexer::set_debug ( int  flag) [inline]

Definition at line 92 of file ds9FlexLexer.h.

References yy_flex_debug.

virtual void FlexLexer::switch_streams ( FLEX_STD istream *  new_in = 0,
FLEX_STD ostream *  new_out = 0 
) [pure virtual]

Switch to new input/output streams.

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

Implemented in yyFlexLexer.

Referenced by yylex().

virtual struct yy_buffer_state* FlexLexer::yy_create_buffer ( FLEX_STD istream *  s,
int  size 
) [read, pure virtual]

Implemented in yyFlexLexer.

virtual void FlexLexer::yy_delete_buffer ( struct yy_buffer_state *  b) [pure virtual]

Implemented in yyFlexLexer.

virtual void FlexLexer::yy_switch_to_buffer ( struct yy_buffer_state *  new_buffer) [pure virtual]

Implemented in yyFlexLexer.

int FlexLexer::YYLeng ( ) const [inline]

Definition at line 66 of file ds9FlexLexer.h.

References yyleng.

virtual int FlexLexer::yylex ( ) [pure virtual]

Implemented in yyFlexLexer.

Referenced by yylex().

int FlexLexer::yylex ( FLEX_STD istream *  new_in,
FLEX_STD ostream *  new_out = 0 
) [inline]

Call yylex with new input/output sources.

Definition at line 78 of file ds9FlexLexer.h.

References switch_streams(), and yylex().

virtual void FlexLexer::yyrestart ( FLEX_STD istream *  s) [pure virtual]

Implemented in yyFlexLexer.

const char* FlexLexer::YYText ( ) const [inline]

Definition at line 65 of file ds9FlexLexer.h.

References yytext.


Member Data Documentation

int FlexLexer::yy_flex_debug [protected]

Definition at line 98 of file ds9FlexLexer.h.

Referenced by debug(), and set_debug().

int FlexLexer::yyleng [protected]

Definition at line 96 of file ds9FlexLexer.h.

Referenced by YYLeng().

int FlexLexer::yylineno [protected]

Definition at line 97 of file ds9FlexLexer.h.

Referenced by lineno().

char* FlexLexer::yytext [protected]

Definition at line 95 of file ds9FlexLexer.h.

Referenced by YYText().


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