2020-08-28 22:45:07 -07:00
|
|
|
#ifndef POLSERVER_PROGRAMPARAMETERDECLARATION_H
|
|
|
|
|
#define POLSERVER_PROGRAMPARAMETERDECLARATION_H
|
|
|
|
|
|
2021-02-25 16:53:22 +01:00
|
|
|
#include "bscript/compiler/ast/Node.h"
|
2020-08-28 22:45:07 -07:00
|
|
|
|
|
|
|
|
namespace Pol::Bscript::Compiler
|
|
|
|
|
{
|
|
|
|
|
class ProgramParameterDeclaration : public Node
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
ProgramParameterDeclaration( const SourceLocation&, std::string name, bool unused );
|
|
|
|
|
|
|
|
|
|
void accept( NodeVisitor& ) override;
|
2024-01-12 06:51:44 +01:00
|
|
|
void describe_to( std::string& ) const override;
|
2020-08-28 22:45:07 -07:00
|
|
|
|
|
|
|
|
const std::string name;
|
|
|
|
|
const bool unused;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Pol::Bscript::Compiler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // POLSERVER_PROGRAMPARAMETERDECLARATION_H
|