polserver/pol-core/bscript/compiler/ast/Statement.cpp
Eric Swanson 3a8ab09a56
Add Expression, Statement, Value AST base classes, and TopLevelStatements (#229)
* Add ast/ Expression, Statement, Value

* Add ast/TopLevelStatements
2020-08-17 22:53:03 -07:00

17 lines
473 B
C++

#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 )
: Node( source_location, std::move( child ) )
{
}
Statement::Statement( const SourceLocation& source_location, NodeVector children )
: Node( source_location, std::move( children ) )
{
}
} // namespace Pol::Bscript::Compiler