isExpr.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include "core/ast/expr.hpp"
5
6namespace by {
11 class _nout isExpr: public expr {
12 BY(CLASS(isExpr, expr, expr::exprType), VISIT())
13
14 public:
15 isExpr(const node& me, const node& to);
16
17 public:
18 using super::run;
19 str run(const args& a) override;
20
21 str getEval() const override;
22 const node& getMe() const;
23 const node& getTo() const;
24 void setTo(const node& new1);
25 void setTo(const node* it) BY_SIDE_FUNC(setTo);
26
27 private:
28 str _me;
29 str _to;
30 };
31}
Function call arguments container.
Definition: args.hpp:13
Type information for expression nodes
Definition: expr.hpp:22
Base class for all expressions.
Definition: expr.hpp:15
ntype checking expression
Definition: isExpr.hpp:11
str getEval() const override
Base class for all AST nodes in byeol language.
Definition: node.hpp:30