Logo Search packages:      
Sourcecode: lttoolbox version File versions

void Compiler::procParDef (  )  [private]

Parse the <pardef> element

Definition at line 141 of file Compiler.C.

References attrib(), current_paradigm, paradigms, and reader.

Referenced by procNode().

{
  int tipo=xmlTextReaderNodeType(reader);

  if(tipo != XML_READER_TYPE_END_ELEMENT)
  {
    current_paradigm = attrib(COMPILER_N_ATTR);
  }
  else
  {
    if(!paradigms[current_paradigm].isEmpty())
    {
      paradigms[current_paradigm].minimize();
      paradigms[current_paradigm].joinFinals();
      current_paradigm = "";
    }
  }
}


Generated by  Doxygen 1.6.0   Back to index