28 lines
387 B
C++
28 lines
387 B
C++
#ifndef EXPRSTATEMENT_HPP
|
|
#define EXPRSTATEMENT_HPP
|
|
|
|
#include "Statement.hpp"
|
|
|
|
class Expr : public Statement
|
|
{
|
|
|
|
public:
|
|
|
|
void getCond();
|
|
void getCond() const;
|
|
void setCond();
|
|
|
|
void getThen();
|
|
void getThen() const;
|
|
void setThen();
|
|
|
|
void getElse();
|
|
void getElse() const;
|
|
void setElse();
|
|
|
|
void getIfLocation();
|
|
void getThenLocation();
|
|
|
|
};
|
|
|
|
#endif |