mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
JS: improve documentation on deprecated CryptographicOperation#getInput() predicate
This commit is contained in:
@@ -118,7 +118,13 @@ module Cryptography {
|
||||
private import semmle.javascript.internal.ConceptsShared::Cryptography as SC
|
||||
|
||||
class CryptographicOperation extends SC::CryptographicOperation instanceof CryptographicOperation::Range {
|
||||
/** DEPRECATED. This predicate has been renamed to `getAnInput`. */
|
||||
/**
|
||||
* DEPRECATED. This predicate has been renamed to `getAnInput`.
|
||||
*
|
||||
* To implement `CryptographicOperation`, please extend
|
||||
* `CryptographicOperation::Range` and implement `getAnInput` instead of
|
||||
* extending this class directly.
|
||||
*/
|
||||
deprecated final DataFlow::Node getInput() { result = this.getAnInput() }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user