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

void RegExpCompiler::Postop (  )  [private]

RDP function

Definition at line 292 of file RegExpCompiler.C.

References consume(), error(), isReserved(), postop, and token.

Referenced by Esp(), and Term().

{
  if(token == '*')
  {
    consume('*');
    postop = "*";
  }
  else if(token == '?')
  {
    consume('?');
    postop = "?";
  }
  else if(token == '+')
  {
    consume('+');
    postop = "+";
  }
  else if(token == '(' || token == '[' || !isReserved(token) || 
          token == '\\' || token == '|' ||  token == FIN_FICHERO || 
        token == ')')
  {
  }
  else
  {
    error();
  }
}


Generated by  Doxygen 1.6.0   Back to index