C++: getClassAndName.

This commit is contained in:
Geoffrey White
2022-05-11 13:47:51 +01:00
parent f27c2f3031
commit 94e190c63a

View File

@@ -227,10 +227,7 @@ class SetFeatureTranformer extends XXEFlowStateTranformer {
* The `DOMLSParser.getDomConfig` function.
*/
class GetDomConfig extends Function {
GetDomConfig() {
this.hasName("getDomConfig") and
this.getDeclaringType() instanceof DomLSParserClass
}
GetDomConfig() { this.getClassAndName("getDomConfig") instanceof DomLSParserClass }
}
/**
@@ -238,8 +235,7 @@ class GetDomConfig extends Function {
*/
class DomConfigurationSetParameter extends Function {
DomConfigurationSetParameter() {
this.hasName("setParameter") and
this.getDeclaringType().getName() = "DOMConfiguration"
this.getClassAndName("setParameter").getName() = "DOMConfiguration"
}
}