2020-08-17 22:53:03 -07:00
|
|
|
#include "Statement.h"
|
|
|
|
|
|
|
|
|
|
namespace Pol::Bscript::Compiler
|
|
|
|
|
{
|
|
|
|
|
Statement::Statement( const SourceLocation& source_location ) : Node( source_location ) {}
|
|
|
|
|
|
|
|
|
|
Statement::Statement( const SourceLocation& source_location, std::unique_ptr<Node> child )
|
2024-01-12 06:51:44 +01:00
|
|
|
: Node( source_location, std::move( child ) )
|
2020-08-17 22:53:03 -07:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Statement::Statement( const SourceLocation& source_location, NodeVector children )
|
2024-01-12 06:51:44 +01:00
|
|
|
: Node( source_location, std::move( children ) )
|
2020-08-17 22:53:03 -07:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace Pol::Bscript::Compiler
|