Loading...
Searching...
No Matches
whileExpr.hpp
Go to the documentation of this file.
1
2#pragma once
3
5
6namespace by {
7
13 class _nout whileExpr: public loopExpr {
15
16 public:
17 whileExpr(const node& condition, const blockExpr& blk);
18
19 public:
20 const node& getCondition() const BY_CONST_FUNC(getCondition())
21 node& getCondition();
22
23 protected:
24 tstr<loop> _makeLoop(arr* ret) const override;
25
26 private:
27 str _condition;
28 };
29}
Scripted array container for byeol language.
Definition arr.hpp:15
Block expression.
Definition blockExpr.hpp:24
Type information for expression nodes
Definition expr.hpp:45
Base class for loop expressions.
Definition loopExpr.hpp:17
Base class for all AST nodes in the byeol language.
Definition node.hpp:195
Definition tnarr.hpp:9
While loop expression.
Definition whileExpr.hpp:13
tstr< loop > _makeLoop(arr *ret) const override
Protected pure virtual method to create the loop controller.
to Top