polserver/pol-core/bscript/compiler/ast/RepeatUntilLoop.h
turleypol 0e675c516a
use new formatter for ERROR_PRINT, added ERROR_PRINTLN (#595)
* use new formatter for ERROR_PRINT, added ERROR_PRINTLN

* remove old log define

* fix comments
2024-01-12 06:51:44 +01:00

27 lines
625 B
C++

#ifndef POLSERVER_REPEATUNTILLOOP_H
#define POLSERVER_REPEATUNTILLOOP_H
#include "bscript/compiler/ast/LoopStatement.h"
namespace Pol::Bscript::Compiler
{
class Block;
class Expression;
class FlowControlLabel;
class RepeatUntilLoop : public LoopStatement
{
public:
RepeatUntilLoop( const SourceLocation&, std::string label, std::unique_ptr<Block>,
std::unique_ptr<Expression> );
void accept( NodeVisitor& ) override;
void describe_to( std::string& ) const override;
Block& block();
Expression& expression();
};
} // namespace Pol::Bscript::Compiler
#endif // POLSERVER_REPEATUNTILLOOP_H