2023-12-08 09:40:14 +01:00
|
|
|
#ifndef ANALYSIS_H
|
|
|
|
#define ANALYSIS_H
|
|
|
|
|
2023-12-08 10:12:23 +01:00
|
|
|
#include "types.h"
|
|
|
|
#include "memory.h"
|
|
|
|
using namespace std;
|
2023-12-08 09:40:14 +01:00
|
|
|
|
2023-12-08 15:59:45 +01:00
|
|
|
using AnalysisResult = variant<Type, monostate>;
|
|
|
|
|
|
|
|
AnalysisResult analyze(Node &ast, Memory &memory);
|
2023-12-08 09:40:14 +01:00
|
|
|
|
|
|
|
#endif
|