Blang/src/lib/src/Statement/ReturnStatement.h

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