polserver/pol-core/bscript/compiler/ast/DictionaryInitializer.cpp
turleypol 1463b76c7c
Includes are now all relative to pol-core basefolder (#906)
* all except pol

* pol and includes under defines

* something weird has happened

* remove own folder from include searchpath

* fixed remaining, adapted include style for external headers

* missing include
2026-07-25 23:01:18 +02:00

25 lines
683 B
C++

#include "bscript/compiler/ast/DictionaryInitializer.h"
#include "bscript/compiler/ast/DictionaryEntry.h"
#include "bscript/compiler/ast/NodeVisitor.h"
namespace Pol::Bscript::Compiler
{
DictionaryInitializer::DictionaryInitializer( const SourceLocation& source_location,
std::vector<std::unique_ptr<Node>> entries )
: Expression( source_location, std::move( entries ) )
{
}
void DictionaryInitializer::accept( NodeVisitor& visitor )
{
visitor.visit_dictionary_initializer( *this );
}
void DictionaryInitializer::describe_to( std::string& w ) const
{
w += "dictionary-initializer";
}
} // namespace Pol::Bscript::Compiler