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. * The `DOMLSParser.getDomConfig` function.
*/ */
class GetDomConfig extends Function { class GetDomConfig extends Function {
GetDomConfig() { GetDomConfig() { this.getClassAndName("getDomConfig") instanceof DomLSParserClass }
this.hasName("getDomConfig") and
this.getDeclaringType() instanceof DomLSParserClass
}
} }
/** /**
@@ -238,8 +235,7 @@ class GetDomConfig extends Function {
*/ */
class DomConfigurationSetParameter extends Function { class DomConfigurationSetParameter extends Function {
DomConfigurationSetParameter() { DomConfigurationSetParameter() {
this.hasName("setParameter") and this.getClassAndName("setParameter").getName() = "DOMConfiguration"
this.getDeclaringType().getName() = "DOMConfiguration"
} }
} }