19 lines
330 B
C++
19 lines
330 B
C++
#ifndef FORSTATEMENT_HPP
|
|
#define FORSTATEMENT_HPP
|
|
|
|
#include "Statement.hpp"
|
|
#include "SourceLocation.hpp"
|
|
|
|
|
|
class ForStatement: public Statement{
|
|
public:
|
|
Statement* getBody();
|
|
const Statement* getBody() const;
|
|
void setBody(Statement*);
|
|
|
|
SourceLocation getForLocation() const;
|
|
void setForLocation(SourceLocation);
|
|
|
|
};
|
|
|
|
#endif |