21 lines
321 B
C++
21 lines
321 B
C++
#ifndef LABELSTATEMENT_HPP
|
|
#define LABELSTATEMENT_HPP
|
|
|
|
#include "Statement.hpp"
|
|
#include "ExprStatement.hpp"
|
|
#include "SourceLocation.hpp"
|
|
|
|
|
|
class LabelStatement: public Statement{
|
|
|
|
public:
|
|
|
|
SourceLocation getLabelLocation() const;
|
|
void setLabelLocation(SourceLocation);
|
|
|
|
private:
|
|
SourceLocation _LabelLoc;
|
|
|
|
};
|
|
|
|
#endif |