#include "Statement.h" class Expression; class StatementBlock; class StatementLoop: public Statement { private: shared_ptr initStatement; shared_ptr preConditionExpression; shared_ptr postConditionExpression; shared_ptr bodyBlockStatement; public: StatementLoop(shared_ptr initStatement, shared_ptr preConditionExpression, shared_ptr postConditionExpression, shared_ptr bodyBlockStatement); shared_ptr getInitStatement(); shared_ptr getPreConditionExpression(); shared_ptr getPostConditionExpression(); shared_ptr getBodyBlockStatement(); string toString(int indent) override; };