polserver/pol-core/bscript/compiler/ast/ClassBody.cpp
Kevin Eady 0fc285696e Delayed AST building of class variable statements (#692)
* Delay class variable visiting; func resolver fixes; tests

* Maybe fix clib headers?
2024-10-10 18:06:04 +02:00

22 lines
415 B
C++

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