mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
21 lines
557 B
C++
21 lines
557 B
C++
#ifndef POLSERVER_USERFUNCTIONBUILDER_H
|
|
#define POLSERVER_USERFUNCTIONBUILDER_H
|
|
|
|
#include "bscript/compiler/astbuilder/CompoundStatementBuilder.h"
|
|
|
|
namespace Pol::Bscript::Compiler
|
|
{
|
|
class UserFunction;
|
|
|
|
class UserFunctionBuilder : public CompoundStatementBuilder
|
|
{
|
|
public:
|
|
UserFunctionBuilder( const SourceFileIdentifier&, BuilderWorkspace& );
|
|
|
|
std::unique_ptr<UserFunction> function_declaration(
|
|
EscriptGrammar::EscriptParser::FunctionDeclarationContext* );
|
|
};
|
|
|
|
} // namespace Pol::Bscript::Compiler
|
|
|
|
#endif // POLSERVER_USERFUNCTIONBUILDER_H
|