More work on binder, implements basic literal expressions
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
|
||||
#ifndef PORYGONLANG_BINDER_HPP
|
||||
#define PORYGONLANG_BINDER_HPP
|
||||
|
||||
#include "../Parser/ParsedStatements/ParsedScriptStatement.hpp"
|
||||
#include "../Parser/ParsedStatements/ParsedStatement.hpp"
|
||||
#include "BoundStatements/BoundStatement.hpp"
|
||||
|
||||
|
||||
class Binder {
|
||||
BoundStatement *BindStatement(ParsedStatement *statement);
|
||||
BoundStatement *BindBlockStatement(ParsedStatement *statement);
|
||||
public:
|
||||
static BoundScriptStatement* Bind(ParsedScriptStatement* s);
|
||||
|
||||
BoundExpression *BindExpression(ParsedExpression *expression);
|
||||
|
||||
BoundStatement *BindExpressionStatement(ParsedStatement *statement);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user