PorygonLang/src/Binder/Binder.hpp

23 lines
639 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 20:15:51 +00:00
BoundStatement *BindExpressionStatement(ParsedStatement *statement);
BoundExpression *BindExpression(ParsedExpression *expression);
2019-05-21 20:15:51 +00:00
BoundExpression *BindBinaryOperator(BinaryExpression *expression);
public:
static BoundScriptStatement* Bind(ParsedScriptStatement* s);
2019-05-21 16:09:08 +00:00
};
#endif //PORYGONLANG_BINDER_HPP