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

25 lines
607 B
C++

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