2024-01-18 23:27:06 +01:00
|
|
|
#ifndef _TPR_FRONTEND_HPP_
|
|
|
|
#define _TPR_FRONTEND_HPP_
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <lang/temp-lang-frontend.hpp>
|
|
|
|
#include <tpr/tpr-scanner.hpp>
|
|
|
|
|
|
|
|
namespace tpr {
|
|
|
|
|
|
|
|
class TprFrontend : public TempLangFrontend {
|
|
|
|
private:
|
|
|
|
public:
|
|
|
|
TprFrontend(const std::string &source_file);
|
2024-01-20 20:17:36 +01:00
|
|
|
int analyze() override;
|
2024-01-18 23:27:06 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _TPR_FRONTEND_HPP_ */
|