polserver/pol-core/bscript/compiler/ast/TopLevelStatements.cpp
turleypol d848deae18
POLLOG* macros use the new formatting (#598)
* POLLOG* macros use the new formatting
removed all old logging functions

* removed old fmt lib from everything except StreamWriter
removed unneeded functions

* fixed review comments
2024-01-16 17:55:42 +01:00

24 lines
519 B
C++

#include "TopLevelStatements.h"
#include "bscript/compiler/ast/NodeVisitor.h"
#include "bscript/compiler/ast/Statement.h"
namespace Pol::Bscript::Compiler
{
TopLevelStatements::TopLevelStatements( const SourceLocation& source_location )
: Node( source_location )
{
}
void TopLevelStatements::accept( NodeVisitor& visitor )
{
visitor.visit_top_level_statements( *this );
}
void TopLevelStatements::describe_to( std::string& w ) const
{
w += "top-level-statements";
}
} // namespace Pol::Bscript::Compiler