nany
classdef-overloads.h
1 #pragma once
2 #include "libnanyc.h"
3 #include <vector>
4 
5 
6 namespace ny {
7 
8 
9 struct ClassdefTableView;
10 struct Atom;
11 
12 
13 struct ClassdefOverloads final {
14  bool empty() const;
15  uint size() const;
16  void print(Yuni::String& out, const ClassdefTableView& table, bool clearBefore = true) const;
17  void clear();
18 
19  std::vector<std::reference_wrapper<Atom>>& getList();
20  const std::vector<std::reference_wrapper<Atom>>& getList() const;
21 
22 private:
24  std::vector<std::reference_wrapper<Atom>> m_overloads;
25 
26 }; // class ClassdefFollow
27 
28 
29 } // namespace ny
30 
31 #include "classdef-overloads.hxx"
Definition: ast.cpp:6
Definition: classdef-overloads.h:13
Definition: classdef-table-view.h:9