mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
21 lines
513 B
C++
21 lines
513 B
C++
#ifndef POLSERVER_LOOPSTATEMENT_H
|
|
#define POLSERVER_LOOPSTATEMENT_H
|
|
|
|
#include "bscript/compiler/ast/LabelableStatement.h"
|
|
|
|
namespace Pol::Bscript::Compiler
|
|
{
|
|
class FlowControlLabel;
|
|
|
|
class LoopStatement : public LabelableStatement
|
|
{
|
|
public:
|
|
LoopStatement( const SourceLocation& source_location, std::string label );
|
|
|
|
const std::shared_ptr<FlowControlLabel> break_label;
|
|
const std::shared_ptr<FlowControlLabel> continue_label;
|
|
};
|
|
|
|
} // namespace Pol::Bscript::Compiler
|
|
|
|
#endif // POLSERVER_LOOPSTATEMENT_H
|