Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

mootPPLexer Class Reference

Flex++ lexer for 'mootpp' raw-text preprocessor: Does rudimentary end-of-sentence and abbreviation recognition, and filters out (most) XML markup.

#include <mootPPLexer.h>

Inheritance diagram for mootPPLexer:

Inheritance graph
[legend]
Collaboration diagram for mootPPLexer:

Collaboration graph
[legend]
List of all members.

Public Types

Public Methods

Public Attributes

Protected Methods

Protected Attributes

Private Methods

Private Attributes


Member Enumeration Documentation

enum mootPPLexer::TokenType
 

Enumeration values:
PPEOF 
UNKNOWN 
EOS 
XML_START_TAG 
XML_END_TAG 
XML_ENTITY 
WORD 
INTEGER 
FLOAT 
PUNCT 


Constructor & Destructor Documentation

mootPPLexer::mootPPLexer  
 

virtual mootPPLexer::~mootPPLexer void    [inline, virtual]
 


Member Function Documentation

int mootPPLexer::input   [private]
 

virtual void mootPPLexer::mgl_begin int    stateno [virtual]
 

Set current start-state. Descendants must override this method (section 3 only!)

Reimplemented from moot::GenericLexer.

virtual void* mootPPLexer::mgl_yy_create_buffer int    size,
FILE *    unused = stdin
[inline, virtual]
 

Flex++ should define this (backwards), but it doesn't get through to us

Implements moot::GenericLexer.

virtual void** mootPPLexer::mgl_yy_current_buffer_p void    [inline, virtual]
 

Reimplemented from moot::GenericLexer.

virtual void mootPPLexer::mgl_yy_delete_buffer void *    buf [inline, virtual]
 

Flex++ should define this, but it doesn't get through to us

Reimplemented from moot::GenericLexer.

virtual void mootPPLexer::mgl_yy_init_buffer void *    buf,
FILE *    unused = stdin
[inline, virtual]
 

Flex++ should define this, but it doesn't get through to us

Implements moot::GenericLexer.

virtual void mootPPLexer::mgl_yy_switch_to_buffer void *    buf [inline, virtual]
 

Flex++ should define this, but it doesn't get through to us

Implements moot::GenericLexer.

YY_BUFFER_STATE mootPPLexer::yy_create_buffer FILE *    file,
int    size
[protected]
 

void mootPPLexer::yy_delete_buffer YY_BUFFER_STATE    b [protected]
 

virtual void mootPPLexer::yy_echo   [protected, virtual]
 

virtual void mootPPLexer::yy_fatal_error char *    msg [protected, virtual]
 

int mootPPLexer::yy_get_next_buffer   [private]
 

long mootPPLexer::yy_get_previous_state_ void    [private]
 

void mootPPLexer::yy_init_buffer YY_BUFFER_STATE    b,
FILE *    file
[protected]
 

void mootPPLexer::yy_initialize   [private]
 

virtual int mootPPLexer::yy_input char *    buf,
int &    result,
int    max_size
[protected, virtual]
 

void mootPPLexer::yy_load_buffer_state void    [protected]
 

void mootPPLexer::yy_switch_to_buffer YY_BUFFER_STATE    new_buffer [protected]
 

long mootPPLexer::yy_try_NUL_trans_ long    current_state_ [private]
 

virtual int mootPPLexer::yy_wrap   [protected, virtual]
 

int mootPPLexer::yyinput   [inline, private]
 

int mootPPLexer::yylex void   
 

void mootPPLexer::yyrestart FILE *    input_file [protected]
 

void mootPPLexer::yyunput unsigned char    c,
unsigned char *    buf_ptr
[private]
 


Member Data Documentation

unsigned int mootPPLexer::ntokens
 

std::string mootPPLexer::output_sentence_separator
 

std::string mootPPLexer::output_token_separator
 

bool mootPPLexer::verbose
 

unsigned char* mootPPLexer::yy_c_buf_p [private]
 

YY_BUFFER_STATE mootPPLexer::yy_current_buffer [protected]
 

int mootPPLexer::yy_did_buffer_switch_on_eof [private]
 

unsigned char mootPPLexer::yy_hold_char [private]
 

int mootPPLexer::yy_init [private]
 

int mootPPLexer::yy_n_chars [private]
 

int mootPPLexer::yy_start [private]
 

FILE* mootPPLexer::yyin
 

int mootPPLexer::yyleng
 

FILE * mootPPLexer::yyout
 

unsigned char* mootPPLexer::yytext
 


The documentation for this class was generated from the following file:
Generated on Wed Jul 28 15:48:04 2004 for libmoot by doxygen1.2.15