polserver/pol-core/bscript/compiler/ast/ExitStatement.cpp
turleypol 1463b76c7c
Includes are now all relative to pol-core basefolder (#906)
* all except pol

* pol and includes under defines

* something weird has happened

* remove own folder from include searchpath

* fixed remaining, adapted include style for external headers

* missing include
2026-07-25 23:01:18 +02:00

22 lines
460 B
C++

#include "bscript/compiler/ast/ExitStatement.h"
#include "bscript/compiler/ast/NodeVisitor.h"
namespace Pol::Bscript::Compiler
{
ExitStatement::ExitStatement( const SourceLocation& source_location ) : Statement( source_location )
{
}
void ExitStatement::accept( NodeVisitor& visitor )
{
visitor.visit_exit_statement( *this );
}
void ExitStatement::describe_to( std::string& w ) const
{
w += "exit-statement";
}
} // namespace Pol::Bscript::Compiler