mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
Add types that define compiler output: (#195)
representation/
CompiledScript
ExportedFunction
ModuleDescriptor
ModuleFunctionDescriptor
This commit is contained in:
parent
cc28f4f4f2
commit
a5f22fe583
9 changed files with 239 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
#include "ModuleFunctionDescriptor.h"
|
||||
|
||||
namespace Pol
|
||||
{
|
||||
namespace Bscript
|
||||
{
|
||||
namespace Compiler
|
||||
{
|
||||
ModuleFunctionDescriptor::ModuleFunctionDescriptor( std::string name, size_t parameter_count )
|
||||
: name( std::move( name ) ), parameter_count( parameter_count )
|
||||
{
|
||||
}
|
||||
|
||||
} // namespace Compiler
|
||||
} // namespace Bscript
|
||||
} // namespace Pol
|
||||
Loading…
Add table
Add a link
Reference in a new issue