polserver/pol-core/bscript/compiler/astbuilder/UserFunctionBuilder.h

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