Skip to content

Commit 3e86076

Browse files
author
Stephan Brandauer
committed
documentation for calleeImports ATM feature
1 parent 93aa279 commit 3e86076

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

  • javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling

javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointFeatures.qll

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,19 @@ class FileImports extends EndpointFeature, TFileImports {
440440
}
441441
}
442442

443+
/**
444+
* The feature for the imports used in the callee of an invocation.
445+
*
446+
* ### Example
447+
*
448+
* ```javascript
449+
* import * as _ from 'lodash';
450+
*
451+
* // ...
452+
* _.deepClone(someObject);
453+
* // ^^^^^^^^^^ will have the value `lodash` for the feature `calleeImports`.
454+
* ```
455+
*/
443456
class CalleeImports extends EndpointFeature, TCalleeImports {
444457
override string getName() { result = "calleeImports" }
445458

0 commit comments

Comments
 (0)