combine functions for statements part done

This commit is contained in:
ProgramSnail 2023-07-28 17:58:45 +03:00
parent 437c9692ec
commit 263b58a17c
7 changed files with 515 additions and 120 deletions

View file

@ -22,9 +22,11 @@ public:
std::pair<size_t, size_t> end_position)
: start_position_(start_position), end_position_(end_position) {}
std::pair<size_t, size_t> get_start_position() { return start_position_; }
std::pair<size_t, size_t> get_start_position() const {
return start_position_;
}
std::pair<size_t, size_t> get_end_position() { return end_position_; }
std::pair<size_t, size_t> get_end_position() const { return end_position_; }
protected:
std::pair<size_t, size_t> start_position_;