retStateExpr.hpp
Go to the documentation of this file.
1
2#pragma once
3
5#include "core/ast/expr.hpp"
6
7namespace by {
8
12 class _nout retState: public nVoid {
13 BY(CLASS(retState, nVoid))
14 };
15
19 class _nout retStateExpr: public expr {
20 BY(ADT(retStateExpr, expr), VISIT())
21
22 public:
23 using super::run;
24 str run(const args& a) override;
25
26 using super::prioritize;
27 priorType prioritize(const args& a) const override;
28 };
29}
Function call arguments container.
Definition: args.hpp:13
Base class for all expressions.
Definition: expr.hpp:15
Void primitive type in byeol language.
Definition: nVoid.hpp:12
Base class for return state expressions.
Definition: retStateExpr.hpp:19
Return state object for control flow.
Definition: retStateExpr.hpp:12
priorType
the lower value, the higher priority.
Definition: tpriorities.hpp:8