Each statement class in separate file
This commit is contained in:
11
src/Parser/Statement/StatementExpression.h
Normal file
11
src/Parser/Statement/StatementExpression.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "Parser/Statement/Statement.h"
|
||||
|
||||
class StatementExpression: public Statement {
|
||||
private:
|
||||
shared_ptr<Expression> expression;
|
||||
|
||||
public:
|
||||
StatementExpression(shared_ptr<Expression> expression);
|
||||
shared_ptr<Expression> getExpression();
|
||||
string toString(int indent) override;
|
||||
};
|
||||
Reference in New Issue
Block a user