@@ -611,16 +611,12 @@ module CodeExecution {
611611 * Extend this class to refine existing API models. If you want to model new APIs,
612612 * extend `XmlParserCall::Range` instead.
613613 */
614- class XmlParserCall extends DataFlow:: Node {
615- XmlParserCall:: Range range ;
616-
617- XmlParserCall ( ) { this = range }
618-
614+ class XmlParserCall extends DataFlow:: Node instanceof XmlParserCall:: Range {
619615 /** Gets the argument that specifies the XML content to be parsed. */
620- DataFlow:: Node getInput ( ) { result = range .getInput ( ) }
616+ DataFlow:: Node getInput ( ) { result = super .getInput ( ) }
621617
622618 /** Holds if this XML parser call is configured to process external entities */
623- predicate externalEntitiesEnabled ( ) { range .externalEntitiesEnabled ( ) }
619+ predicate externalEntitiesEnabled ( ) { super .externalEntitiesEnabled ( ) }
624620}
625621
626622/** Provides a class for modeling new XML parsing APIs. */
@@ -790,13 +786,9 @@ module CookieSecurityConfigurationSetting {
790786 * Extend this class to refine existing API models. If you want to model new APIs,
791787 * extend `Logging::Range` instead.
792788 */
793- class Logging extends DataFlow:: Node {
794- Logging:: Range range ;
795-
796- Logging ( ) { this = range }
797-
789+ class Logging extends DataFlow:: Node instanceof Logging:: Range {
798790 /** Gets an input that is logged. */
799- DataFlow:: Node getAnInput ( ) { result = range .getAnInput ( ) }
791+ DataFlow:: Node getAnInput ( ) { result = super .getAnInput ( ) }
800792}
801793
802794/** Provides a class for modeling new logging mechanisms. */
0 commit comments