mirror of
https://codeberg.org/ProgramSnail/lang.git
synced 2025-12-09 00:18:46 +00:00
combine functions for statements part done
This commit is contained in:
parent
437c9692ec
commit
263b58a17c
7 changed files with 515 additions and 120 deletions
|
|
@ -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_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue