Work on evaluation
This commit is contained in:
@@ -37,6 +37,10 @@ public:
|
||||
BoundStatementKind GetKind() override{
|
||||
return BoundStatementKind ::Block;
|
||||
}
|
||||
|
||||
vector<BoundStatement*> GetStatements(){
|
||||
return _statements;
|
||||
}
|
||||
};
|
||||
|
||||
class BoundScriptStatement : public BoundBlockStatement{
|
||||
@@ -62,6 +66,10 @@ public:
|
||||
BoundStatementKind GetKind() final{
|
||||
return BoundStatementKind ::Expression;
|
||||
}
|
||||
|
||||
BoundExpression* GetExpression(){
|
||||
return _expression;
|
||||
}
|
||||
};
|
||||
|
||||
#endif //PORYGONLANG_BOUNDSTATEMENT_HPP
|
||||
|
||||
Reference in New Issue
Block a user