mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
23 lines
553 B
C++
23 lines
553 B
C++
#ifndef POLSERVER_PROGRAMPARAMETERDECLARATION_H
|
|
#define POLSERVER_PROGRAMPARAMETERDECLARATION_H
|
|
|
|
#include "bscript/compiler/ast/Node.h"
|
|
|
|
namespace Pol::Bscript::Compiler
|
|
{
|
|
class ProgramParameterDeclaration : public Node
|
|
{
|
|
public:
|
|
ProgramParameterDeclaration( const SourceLocation&, std::string name, bool unused );
|
|
|
|
void accept( NodeVisitor& ) override;
|
|
void describe_to( fmt::Writer& ) const override;
|
|
|
|
const std::string name;
|
|
const bool unused;
|
|
};
|
|
|
|
} // namespace Pol::Bscript::Compiler
|
|
|
|
|
|
#endif // POLSERVER_PROGRAMPARAMETERDECLARATION_H
|