mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* 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
25 lines
683 B
C++
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
|