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 {
336
336
337
337
/**
338
338
* Gets a data flow node that may refer to the jQuery `$` function.
339
+ *
340
+ * This predicate can be extended by subclassing `JQuery::DollarSource::Range`.
339
341
*/
340
342
DataFlow:: SourceNode dollarSource ( ) { result instanceof DollarSource:: Range }
341
343
@@ -347,7 +349,11 @@ module JQuery {
347
349
exists ( DataFlow:: TypeTracker t2 | result = dollar ( t2 ) .track ( t2 , t ) )
348
350
}
349
351
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
+ */
351
357
DataFlow:: SourceNode dollar ( ) { result = dollar ( DataFlow:: TypeTracker:: end ( ) ) }
352
358
353
359
/** Gets an invocation of the jQuery `$` function. */
@@ -398,7 +404,11 @@ module JQuery {
398
404
exists ( DataFlow:: TypeTracker t2 | result = objectRef ( t2 ) .track ( t2 , t ) )
399
405
}
400
406
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
+ */
402
412
DataFlow:: SourceNode objectRef ( ) { result = objectRef ( DataFlow:: TypeTracker:: end ( ) ) }
403
413
404
414
/** A data flow node that refers to a jQuery object. */
You can’t perform that action at this time.
0 commit comments