Скачиваний:
11
Добавлен:
01.05.2014
Размер:
667 б
Скачать

// File:        PreLexAn.h

#ifndef __PRELEXAN_H
#define __PRELEXAN_H
//-----------------------------------------------------------------------------

#include <string>

//-----------------------------------------------------------------------------


enum STATES
{
    ST_NONE,
    ST_COMMENT,
    ST_QUANTITY
};



class CPreLexAn
{
    STATES m_State;
    std::string m_sBuf;

    void FlushBuffer(std::string &outText);

    bool IsSingleDelim(char Ch);

public:
    void ProcessText( std::string inText, std::string &outText );

    
};

//-----------------------------------------------------------------------------
#endif
Соседние файлы в папке Курсовая работа2