nany
classdef-follow.h
1 #pragma once
2 #include <yuni/yuni.h>
3 #include <yuni/core/string.h>
4 #include <vector>
5 #include "details/utils/clid.h"
6 
7 
8 namespace ny {
9 
10 
11 struct ClassdefFollow final {
12  ClassdefFollow() = default;
13 
14  bool empty() const;
15  void print(Yuni::String& out, bool clearBefore = true) const;
16 
17 public:
19  std::vector<CLID> extends;
21  std::vector<std::pair<CLID, uint>> pushedIndexedParams;
23  std::vector<std::pair<CLID, AnyString>> pushedNamedParams;
24 
25 }; // struct ClassdefFollow
26 
27 
28 } // namespace ny
29 
30 #include "classdef-follow.hxx"
Definition: classdef-follow.h:11
Definition: ast.cpp:6
std::vector< std::pair< CLID, AnyString > > pushedNamedParams
Follow some named parameters (atomid / name)
Definition: classdef-follow.h:23
std::vector< std::pair< CLID, uint > > pushedIndexedParams
Follow some indexed parameter (atomid/parameter index type)
Definition: classdef-follow.h:21
std::vector< CLID > extends
Follow some indexed parameter (atomid/parameter index type)
Definition: classdef-follow.h:19