20 lines
345 B
C++
20 lines
345 B
C++
#ifndef BREAKSTATEMENT_HPP
|
|
#define BREAKSTATEMENT_HPP
|
|
|
|
#include "../Statement.hpp"
|
|
#include "../SourceLocation.hpp"
|
|
|
|
|
|
class BreakStatement : public Statement
|
|
{
|
|
public:
|
|
BreakStatement(SourceLocation l);
|
|
|
|
SourceLocation getBreakLocation() const;
|
|
void setBreakLocation(SourceLocation);
|
|
|
|
private:
|
|
SourceLocation _BreakLoc;
|
|
};
|
|
|
|
#endif |