mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* use new formatter for ERROR_PRINT, added ERROR_PRINTLN * remove old log define * fix comments
24 lines
575 B
C++
24 lines
575 B
C++
#ifndef POLSERVER_FUNCTIONREFERENCE_H
|
|
#define POLSERVER_FUNCTIONREFERENCE_H
|
|
|
|
#include "bscript/compiler/ast/Value.h"
|
|
|
|
namespace Pol::Bscript::Compiler
|
|
{
|
|
class FunctionLink;
|
|
|
|
class FunctionReference : public Value
|
|
{
|
|
public:
|
|
FunctionReference( const SourceLocation&, std::string name, std::shared_ptr<FunctionLink> );
|
|
|
|
void accept( NodeVisitor& ) override;
|
|
void describe_to( std::string& ) const override;
|
|
|
|
const std::string name;
|
|
const std::shared_ptr<FunctionLink> function_link;
|
|
};
|
|
|
|
} // namespace Pol::Bscript::Compiler
|
|
|
|
#endif // POLSERVER_FUNCTIONREFERENCE_H
|