mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
24 lines
610 B
C++
24 lines
610 B
C++
#ifndef POLSERVER_STATEMENT_H
|
|
#define POLSERVER_STATEMENT_H
|
|
|
|
#include "bscript/compiler/ast/Node.h"
|
|
|
|
namespace Pol::Bscript::Compiler
|
|
{
|
|
class Statement : public Node
|
|
{
|
|
public:
|
|
explicit Statement( const SourceLocation& );
|
|
Statement( const SourceLocation&, std::unique_ptr<Node> childr );
|
|
Statement( const SourceLocation&, NodeVector children );
|
|
|
|
template <typename T>
|
|
Statement( const SourceLocation& source_location, std::vector<std::unique_ptr<T>> children )
|
|
: Node( source_location, std::move( children ) )
|
|
{
|
|
}
|
|
};
|
|
|
|
} // namespace Pol::Bscript::Compiler
|
|
|
|
#endif // POLSERVER_STATEMENT_H
|