pgLab/pglablib/sqlast/StringLiteral.cpp

14 lines
250 B
C++
Raw Normal View History

#include "StringLiteral.h"
2022-04-07 19:35:29 +02:00
#include "NodeVisitor.h"
using namespace sqlast;
StringLiteral::StringLiteral(const std::string s)
: value(QString::fromStdString(s))
{}
2022-04-07 19:35:29 +02:00
void StringLiteral::Accept(NodeVisitor &visitor)
{
visitor.Visit(*this);
}