mirror of
https://github.com/github/codeql.git
synced 2025-12-26 05:36:32 +01:00
14 lines
365 B
Plaintext
14 lines
365 B
Plaintext
import javascript
|
|
|
|
/**
|
|
* DEPRECATED: Use `SsaDefinition` from `SSA.qll` instead.
|
|
* An identifier appearing in a defining position.
|
|
*/
|
|
deprecated class DefiningIdentifier extends Identifier {
|
|
DefiningIdentifier() {
|
|
this instanceof VarDecl or
|
|
exists(Assignment assgn | this = assgn.getLhs()) or
|
|
exists(UpdateExpr upd | this = upd.getOperand())
|
|
}
|
|
}
|