mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
20 lines
473 B
C++
20 lines
473 B
C++
#ifndef POLSERVER_ARRAYINITIALIZER_H
|
|
#define POLSERVER_ARRAYINITIALIZER_H
|
|
|
|
#include "bscript/compiler/ast/Expression.h"
|
|
|
|
namespace Pol::Bscript::Compiler
|
|
{
|
|
class ArrayInitializer : public Expression
|
|
{
|
|
public:
|
|
ArrayInitializer( const SourceLocation&, std::vector<std::unique_ptr<Expression>> );
|
|
|
|
void accept( NodeVisitor& ) override;
|
|
void describe_to( fmt::Writer& ) const override;
|
|
};
|
|
|
|
} // namespace Pol::Bscript::Compiler
|
|
|
|
|
|
#endif // POLSERVER_ARRAYINITIALIZER_H
|