PorygonLang/src/Binder/Binder.hpp

21 lines
567 B
C++
Raw Normal View History

2019-05-21 16:09:08 +00:00
#ifndef PORYGONLANG_BINDER_HPP
#define PORYGONLANG_BINDER_HPP
#include "../Parser/ParsedStatements/ParsedStatement.hpp"
2019-05-21 16:09:08 +00:00
#include "BoundStatements/BoundStatement.hpp"
2019-05-21 16:09:08 +00:00
class Binder {
BoundStatement *BindStatement(ParsedStatement *statement);
BoundStatement *BindBlockStatement(ParsedStatement *statement);
2019-05-21 16:09:08 +00:00
public:
static BoundScriptStatement* Bind(ParsedScriptStatement* s);
BoundExpression *BindExpression(ParsedExpression *expression);
BoundStatement *BindExpressionStatement(ParsedStatement *statement);
2019-05-21 16:09:08 +00:00
};
#endif //PORYGONLANG_BINDER_HPP