mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
23 lines
443 B
C++
23 lines
443 B
C++
#ifndef POLSERVER_INTEGERVALUE_H
|
|
#define POLSERVER_INTEGERVALUE_H
|
|
|
|
#include "compiler/ast/Value.h"
|
|
|
|
namespace Pol::Bscript::Compiler
|
|
{
|
|
class NodeVisitor;
|
|
|
|
class IntegerValue : public Value
|
|
{
|
|
public:
|
|
IntegerValue( const SourceLocation&, int value );
|
|
|
|
void accept( NodeVisitor& ) override;
|
|
void describe_to( fmt::Writer& ) const override;
|
|
|
|
const int value;
|
|
};
|
|
|
|
} // namespace Pol::Bscript::Compiler
|
|
|
|
#endif // POLSERVER_INTEGERVALUE_H
|