Process ` ` tags for a ` ` or ` `. - interface - Element for ` ` or ` `, containing ` ` tags - featurename - name of the feature - api - string specifying API name being generated - profile - string specif
(self, interface, featurename, api, profile)
| 1436 | self.gen.logMsg('warn', f'fillFeatureDictionary: NOT filling for {typename}') |
| 1437 | |
| 1438 | def requireFeatures(self, interface, featurename, api, profile): |
| 1439 | """Process `<require>` tags for a `<version>` or `<extension>`. |
| 1440 | |
| 1441 | - interface - Element for `<version>` or `<extension>`, containing |
| 1442 | `<require>` tags |
| 1443 | - featurename - name of the feature |
| 1444 | - api - string specifying API name being generated |
| 1445 | - profile - string specifying API profile being generated""" |
| 1446 | |
| 1447 | # <require> marks things that are required by this version/profile |
| 1448 | for feature in interface.findall('require'): |
| 1449 | if matchAPIProfile(api, profile, feature): |
| 1450 | if self.requireDependsSatisfied(feature): |
| 1451 | self.markRequired(featurename, feature, True) |
| 1452 | |
| 1453 | def deprecateFeatures(self, interface, featurename, api, profile): |
| 1454 | """Process `<require>` tags for a `<version>` or `<extension>`. |
no test coverage detected