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

void highlight::CodeGenerator::reset (  )  [private]

Resets parser to origin state, call this after every file conversion

Definition at line 317 of file codegenerator.cpp.

References inFile, line, lineIndex, lineNumber, outFile, preFormatter, and highlight::PreFormatter::reset().

Referenced by generateFile(), generateString(), and generateStringFromFile().

      {
            lineIndex = 0;
            lineNumber = 0;
            line.clear();
            preFormatter.reset();
            inFile.clear();
            outFile.clear();
      }


Generated by  Doxygen 1.6.0   Back to index