@@ -443,38 +443,41 @@ module RegexExecution {
443443 }
444444}
445445
446- /**
447- * A data-flow node that executes an LDAP query.
448- *
449- * Extend this class to refine existing API models. If you want to model new APIs,
450- * extend `LDAPQuery::Range` instead.
451- */
452- class LdapExecution extends DataFlow:: Node {
453- LdapExecution:: Range range ;
454-
455- LdapExecution ( ) { this = range }
456-
457- /** Gets the argument containing the filter string. */
458- DataFlow:: Node getFilter ( ) { result = range .getFilter ( ) }
459-
460- /** Gets the argument containing the base DN. */
461- DataFlow:: Node getBaseDn ( ) { result = range .getBaseDn ( ) }
462- }
463-
464- /** Provides classes for modeling new LDAP query execution-related APIs. */
465- module LdapExecution {
446+ /** Provides classes for modeling LDAP-related APIs. */
447+ module LDAP {
466448 /**
467449 * A data-flow node that executes an LDAP query.
468450 *
469- * Extend this class to model new APIs . If you want to refine existing API models ,
470- * extend `LDAPQuery` instead.
451+ * Extend this class to refine existing API models . If you want to model new APIs ,
452+ * extend `LDAPQuery::Range ` instead.
471453 */
472- abstract class Range extends DataFlow:: Node {
454+ class LdapExecution extends DataFlow:: Node {
455+ LdapExecution:: Range range ;
456+
457+ LdapExecution ( ) { this = range }
458+
473459 /** Gets the argument containing the filter string. */
474- abstract DataFlow:: Node getFilter ( ) ;
460+ DataFlow:: Node getFilter ( ) { result = range . getFilter ( ) }
475461
476462 /** Gets the argument containing the base DN. */
477- abstract DataFlow:: Node getBaseDn ( ) ;
463+ DataFlow:: Node getBaseDn ( ) { result = range .getBaseDn ( ) }
464+ }
465+
466+ /** Provides classes for modeling new LDAP query execution-related APIs. */
467+ module LdapExecution {
468+ /**
469+ * A data-flow node that executes an LDAP query.
470+ *
471+ * Extend this class to model new APIs. If you want to refine existing API models,
472+ * extend `LDAPQuery` instead.
473+ */
474+ abstract class Range extends DataFlow:: Node {
475+ /** Gets the argument containing the filter string. */
476+ abstract DataFlow:: Node getFilter ( ) ;
477+
478+ /** Gets the argument containing the base DN. */
479+ abstract DataFlow:: Node getBaseDn ( ) ;
480+ }
478481 }
479482}
480483
0 commit comments