Logo Search packages:      
Sourcecode: lttoolbox version File versions  Download package

RegexpCompiler Class Reference

#include <regexp_compiler.h>

List of all members.

Detailed Description

Compiler that builds a transducer to identify regular expressions. This compiler is a recursive descendent parser (RDP).

Definition at line 35 of file regexp_compiler.h.

Public Member Functions

void compile (wstring const &er)
TransducergetTransducer ()
void initialize (Alphabet *a)
RegexpCompileroperator= (RegexpCompiler const &rec)
 RegexpCompiler (RegexpCompiler const &rec)
 RegexpCompiler ()
void setAlphabet (Alphabet *a)
 ~RegexpCompiler ()

Private Member Functions

void Cola ()
void ColaLetra ()
void consume (int t)
void copy (RegexpCompiler const &rec)
void destroy ()
void Elem ()
void error ()
void errorConsuming (int const t)
void Esp ()
bool isReserved (int const t)
void Letra ()
void Lista ()
void Postop ()
void Reservado ()
void RExpr ()
void RExprp ()
void S ()
void Term ()

Private Attributes

set< int > brackets
wstring input
int letter
wstring postop
int state
int token
Transducer transducer

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

Generated by  Doxygen 1.6.0   Back to index