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

void RegExpCompiler::Letra (  )  [private]

RDP function

Definition at line 272 of file RegExpCompiler.C.

References consume(), error(), isReserved(), letter, Reservado(), and token.

Referenced by ColaLetra(), Elem(), and Term().

{
  if(!isReserved(token))
  {
    letter = token;
    consume(token);
  }
  else if(token == '\\')
  {
    consume('\\');
    letter = token;
    Reservado();
  }
  else
  {
    error();
  }
}


Generated by  Doxygen 1.6.0   Back to index