mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* use new formatter for ERROR_PRINT, added ERROR_PRINTLN * remove old log define * fix comments
22 lines
519 B
C++
22 lines
519 B
C++
#ifndef POLSERVER_DICTIONARYENTRY_H
|
|
#define POLSERVER_DICTIONARYENTRY_H
|
|
|
|
#include "bscript/compiler/ast/Node.h"
|
|
|
|
namespace Pol::Bscript::Compiler
|
|
{
|
|
class Expression;
|
|
|
|
class DictionaryEntry : public Node
|
|
{
|
|
public:
|
|
DictionaryEntry( const SourceLocation&, std::unique_ptr<Expression> key,
|
|
std::unique_ptr<Expression> value );
|
|
|
|
void accept( NodeVisitor& ) override;
|
|
void describe_to( std::string& ) const override;
|
|
};
|
|
|
|
} // namespace Pol::Bscript::Compiler
|
|
|
|
#endif // POLSERVER_DICTIONARYENTRY_H
|