-
Notifications
You must be signed in to change notification settings - Fork 0
/
program_flow.hpp
53 lines (44 loc) · 1.2 KB
/
program_flow.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// Created by pnsv0 on 13.04.2022.
//
#ifndef POPDB_PROGRAM_FLOW_HPP
#define POPDB_PROGRAM_FLOW_HPP
#include <vector>
#include <iostream>
#include "expression_common.hpp"
#include "expression.hpp"
namespace SEQL {
// class Statement {
// public:
// std::vector<std::shared_ptr<Statement>> lines;
// std::shared_ptr<Expression> exp;
// std::shared_ptr<Statement> next;
// std::string raw;
//
//
// virtual void invoke(std::shared_ptr<Statement>& current, std::shared_ptr<Engine> engine);
// };
//
//
//
//
// class IfStatement : public Statement {
// public:
// std::vector<Token> condition;
// IfStatement() = default;
// explicit IfStatement(std::vector<Token> fragments);
// void invoke(std::shared_ptr<Statement>& current, std::shared_ptr<Engine> engine) override;
// };
//
//
// class ForStatement : public Statement {
// public:
// std::vector<Token> start;
// std::vector<Token> condition;
// std::vector<Token> each;
// ForStatement() = default;
// void invoke(std::shared_ptr<Statement>& current, std::shared_ptr<Engine> engine) override;
//
// };
}
#endif //POPDB_PROGRAM_FLOW_HPP