polserver/pol-core/bscript/compiler/ast/DictionaryInitializer.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

22 lines
569 B
C++

#ifndef POLSERVER_DICTIONARYINITIALIZER_H
#define POLSERVER_DICTIONARYINITIALIZER_H
#include "bscript/compiler/ast/Expression.h"
namespace Pol::Bscript::Compiler
{
class DictionaryEntry;
class DictionaryInitializer : public Expression
{
public:
explicit DictionaryInitializer( const SourceLocation&,
std::vector<std::unique_ptr<DictionaryEntry>> );
void accept( NodeVisitor& ) override;
void describe_to( std::string& ) const override;
};
} // namespace Pol::Bscript::Compiler
#endif // POLSERVER_DICTIONARYINITIALIZER_H