polserver/pol-core/bscript/compiler/representation/ModuleFunctionDescriptor.h
Eric Swanson a5f22fe583
Add types that define compiler output: (#195)
representation/
    CompiledScript
    ExportedFunction
    ModuleDescriptor
    ModuleFunctionDescriptor
2020-08-09 09:31:18 +02:00

27 lines
473 B
C++

#ifndef POLSERVER_MODULEFUNCTIONDESCRIPTOR_H
#define POLSERVER_MODULEFUNCTIONDESCRIPTOR_H
#include <string>
namespace Pol
{
namespace Bscript
{
namespace Compiler
{
class ModuleFunctionDescriptor;
class ModuleFunctionDescriptor
{
public:
ModuleFunctionDescriptor( std::string, size_t );
const std::string name;
const size_t parameter_count;
};
} // namespace Compiler
} // namespace Bscript
} // namespace Pol
#endif // POLSERVER_MODULEFUNCTIONDESCRIPTOR_H