Add types that define compiler output: (#195)

representation/
    CompiledScript
    ExportedFunction
    ModuleDescriptor
    ModuleFunctionDescriptor
This commit is contained in:
Eric Swanson 2020-08-09 00:31:18 -07:00 committed by GitHub
parent cc28f4f4f2
commit a5f22fe583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 239 additions and 0 deletions

View file

@ -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