(self, interface, api, profile)
| 1548 | self.markRequired(featurename, feature, False) |
| 1549 | |
| 1550 | def assignAdditionalValidity(self, interface, api, profile): |
| 1551 | # Loop over all usage inside all <require> tags. |
| 1552 | for feature in interface.findall('require'): |
| 1553 | if matchAPIProfile(api, profile, feature): |
| 1554 | for v in feature.findall('usage'): |
| 1555 | if v.get('command'): |
| 1556 | self.cmddict[v.get('command')].additionalValidity.append(copy.deepcopy(v)) |
| 1557 | if v.get('struct'): |
| 1558 | self.typedict[v.get('struct')].additionalValidity.append(copy.deepcopy(v)) |
| 1559 | |
| 1560 | def removeAdditionalValidity(self, interface, api, profile): |
| 1561 | # Loop over all usage inside all <remove> tags. |
no test coverage detected