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

void RegexpCompiler::compile ( wstring const &  er)

Function that parses a regular expression and produces a transducer

erthe regular expression

Definition at line 128 of file regexp_compiler.cc.

References Transducer::getInitial(), input, S(), Transducer::setFinal(), state, token, and transducer.

Referenced by Compiler::insertEntryTokens().

  input = er;
  token = static_cast<int>(input[0]);
  state = transducer.getInitial();

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index