24 lines
383 B
C++
24 lines
383 B
C++
|
#ifndef roza_TYPERESOLVER_HPP
|
||
|
#define roza_TYPERESOLVER_HPP
|
||
|
|
||
|
#include "commons.hpp"
|
||
|
#include "Type.hpp"
|
||
|
#include "StatusLog.hpp"
|
||
|
#include "Node.hpp"
|
||
|
|
||
|
namespace roza
|
||
|
{
|
||
|
class TypeResolver
|
||
|
{
|
||
|
public:
|
||
|
explicit TypeResolver(StatusLog& log);
|
||
|
virtual ~TypeResolver();
|
||
|
|
||
|
std::shared_ptr<Type> find(std::shared_ptr<Node> root);
|
||
|
private:
|
||
|
StatusLog& m_log;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|