2026-07-25 23:01:18 +02:00
|
|
|
#include "bscript/compiler/representation/ClassDescriptor.h"
|
2024-08-19 19:57:31 +02:00
|
|
|
|
|
|
|
|
namespace Pol::Bscript::Compiler
|
|
|
|
|
{
|
2024-08-26 22:37:22 +02:00
|
|
|
ClassDescriptor::ClassDescriptor( unsigned name_offset,
|
2024-09-06 11:11:34 +02:00
|
|
|
unsigned constructor_function_reference_index,
|
2024-08-26 22:37:22 +02:00
|
|
|
std::vector<ConstructorDescriptor> constructors,
|
2024-08-19 19:57:31 +02:00
|
|
|
std::vector<MethodDescriptor> methods )
|
|
|
|
|
: name_offset( name_offset ),
|
2024-09-06 11:11:34 +02:00
|
|
|
constructor_function_reference_index( constructor_function_reference_index ),
|
2024-08-26 22:37:22 +02:00
|
|
|
constructors( std::move( constructors ) ),
|
2024-08-19 19:57:31 +02:00
|
|
|
methods( std::move( methods ) )
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
} // namespace Pol::Bscript::Compiler
|