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

EntryToken Compiler::procIdentity (  )  [private]

Parse the <i< element

Returns:
a list of tokens from the dictionary's entry

Definition at line 347 of file Compiler.C.

References latin1(), reader, and EntryToken::setSingleTransduction().

Referenced by procEntry().

{
  list<string> both_sides;

  if(!xmlTextReaderIsEmptyElement(reader))
  {
    string name = "";

    while(true)
    {
      xmlTextReaderRead(reader);
      name = latin1(xmlTextReaderConstName(reader));
      if(name == COMPILER_IDENTITY_ELEM)
      {
        break;
      }
      readString(both_sides, name);
    }
  }
  
  EntryToken e;
  e.setSingleTransduction(both_sides, both_sides);
  return e;
}


Generated by  Doxygen 1.6.0   Back to index