File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
javascript/ql/src/semmle/javascript/frameworks Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -336,6 +336,8 @@ module JQuery {
336336
337337 /**
338338 * Gets a data flow node that may refer to the jQuery `$` function.
339+ *
340+ * This predicate can be extended by subclassing `JQuery::DollarSource::Range`.
339341 */
340342 DataFlow:: SourceNode dollarSource ( ) { result instanceof DollarSource:: Range }
341343
@@ -347,7 +349,11 @@ module JQuery {
347349 exists ( DataFlow:: TypeTracker t2 | result = dollar ( t2 ) .track ( t2 , t ) )
348350 }
349351
350- /** Gets a data flow node referring to the jQuery `$` function. */
352+ /**
353+ * Gets a data flow node referring to the jQuery `$` function.
354+ *
355+ * This predicate can be extended by subclassing `JQuery::DollarSource::Range`.
356+ */
351357 DataFlow:: SourceNode dollar ( ) { result = dollar ( DataFlow:: TypeTracker:: end ( ) ) }
352358
353359 /** Gets an invocation of the jQuery `$` function. */
@@ -398,7 +404,11 @@ module JQuery {
398404 exists ( DataFlow:: TypeTracker t2 | result = objectRef ( t2 ) .track ( t2 , t ) )
399405 }
400406
401- /** Gets a data flow node referring to a jQuery object. */
407+ /**
408+ * Gets a data flow node referring to a jQuery object.
409+ *
410+ * This predicate can be extended by subclassing `JQuery::ObjectSource::Range`.
411+ */
402412 DataFlow:: SourceNode objectRef ( ) { result = objectRef ( DataFlow:: TypeTracker:: end ( ) ) }
403413
404414 /** A data flow node that refers to a jQuery object. */
You can’t perform that action at this time.
0 commit comments