| 141 | } |
| 142 | |
| 143 | std::vector<NamedAttribute> getMgbAttributes() const { |
| 144 | std::vector<NamedAttribute> ret; |
| 145 | for (auto&& i : getAttributes()) { |
| 146 | if (isa<MgbAttrWrapperBase>(i.attr)) { |
| 147 | ret.push_back(i); |
| 148 | } |
| 149 | } |
| 150 | return ret; |
| 151 | } |
| 152 | std::vector<NamedAttribute> getExtraArguments() const { |
| 153 | std::vector<NamedAttribute> ret; |
| 154 | auto&& dag = getDef().getValueAsDag("extraArguments"); |
no test coverage detected