21 lines
358 B
C++
21 lines
358 B
C++
#ifndef RETURNSTATEMENT_HPP
|
|
#define RETURNSTATEMENT_HPP
|
|
|
|
#include "../Statement.hpp"
|
|
#include "../SourceLocation.hpp"
|
|
|
|
|
|
class ReturnStatement : public Statement
|
|
{
|
|
public:
|
|
ReturnStatement(SourceLocation l);
|
|
|
|
SourceLocation getReturnLocation() const;
|
|
void setReturnLocation(SourceLocation);
|
|
|
|
private:
|
|
SourceLocation _returnLocation;
|
|
|
|
};
|
|
|
|
#endif |