Blang/src/include/Statement/StringLiteralExpr.h

25 lines
451 B
C++

#ifndef BLANG_STRINGLITERALEXPR_H
#define BLANG_STRINGLITERALEXPR_H
class StringLiteralExpr
{
public:
StringLiteralExpr(std::string str, SourceLocation loc);
unsigned int getLength () const;
void setString(std::string str);
std::string getString() const;
SourceLocation getLocStart() const;
SourceLocation getLocEnd() const;
private:
std::string _str;
SourceLocation _loc;
};
#endif //BLANG_STRINGLITERALEXPR_H