Logo Search packages:      
Sourcecode: lttoolbox version File versions

EntryToken Class Reference

#include <EntryToken.H>

List of all members.

Detailed Description

This is a "Compiler" helper class, to store the parts of each entry before combining it to build the transducer being "compiled".

Definition at line 31 of file EntryToken.H.

Public Member Functions

 EntryToken (EntryToken const &e)
 EntryToken ()
bool isParadigm () const
bool isRegExp () const
bool isSingleTransduction () const
list< string > const & left () const
EntryTokenoperator= (EntryToken const &e)
string const & paradigmName () const
string const & regExp () const
list< string > const & right () const
void setParadigm (string const &np)
void setRegExp (string const &r)
void setSingleTransduction (list< string > const &pi, list< string > const &pd)
 ~EntryToken ()

Private Types

enum  Type { paradigm, single_transduction, regexp }

Private Member Functions

void copy (EntryToken const &e)
void destroy ()

Private Attributes

list< string > leftSide
string myregexp
string parName
list< string > rightSide
Type type

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

Generated by  Doxygen 1.6.0   Back to index