19 lines
304 B
C++
19 lines
304 B
C++
#include "LabelStatement.h"
|
|
|
|
LabelStatement::LabelStatement(SourceLocation ll, LabelDecl* decl):
|
|
_decl(decl),
|
|
_labelLoc(ll)
|
|
{
|
|
|
|
}
|
|
|
|
SourceLocation LabelStatement::getLabelLocation() const
|
|
{
|
|
return _labelLoc;
|
|
}
|
|
|
|
void LabelStatement::setLabelLocation(SourceLocation loc)
|
|
{
|
|
_labelLoc = loc;
|
|
}
|