polserver/pol-core/bscript/compiler/ast/StringValue.h
turleypol 0e675c516a
use new formatter for ERROR_PRINT, added ERROR_PRINTLN (#595)
* use new formatter for ERROR_PRINT, added ERROR_PRINTLN

* remove old log define

* fix comments
2024-01-12 06:51:44 +01:00

23 lines
486 B
C++

#ifndef POLSERVER_STRINGVALUE_H
#define POLSERVER_STRINGVALUE_H
#include "bscript/compiler/ast/Value.h"
namespace Pol::Bscript::Compiler
{
class NodeVisitor;
class StringValue : public Value
{
public:
StringValue( const SourceLocation& source_location, std::string value );
void accept( NodeVisitor& visitor ) override;
void describe_to( std::string& ) const override;
const std::string value;
};
} // namespace Pol::Bscript::Compiler
#endif // POLSERVER_STRINGVALUE_H