Implements return statement
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
class Binder {
|
||||
Script* _scriptData;
|
||||
BoundScope* _scope;
|
||||
shared_ptr<FunctionScriptType> _currentFunction;
|
||||
|
||||
~Binder();
|
||||
|
||||
@@ -18,6 +19,7 @@ class Binder {
|
||||
BoundStatement *BindExpressionStatement(ParsedStatement *statement);
|
||||
BoundStatement *BindAssignmentStatement(ParsedStatement *statement);
|
||||
BoundStatement *BindFunctionDeclarationStatement(ParsedStatement * statement);
|
||||
BoundStatement *BindReturnStatement(ParsedStatement *statement);
|
||||
|
||||
BoundExpression *BindExpression(ParsedExpression *expression);
|
||||
BoundExpression *BindVariableExpression(VariableExpression *expression);
|
||||
|
||||
Reference in New Issue
Block a user