mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
JavaScript: Make configuration IDs explicit in the API.
This commit is contained in:
@@ -86,6 +86,12 @@ abstract class Configuration extends string {
|
||||
bindingset[this]
|
||||
Configuration() { any() }
|
||||
|
||||
/**
|
||||
* Gets the unique identifier of this configuration among all data flow tracking
|
||||
* configurations.
|
||||
*/
|
||||
string getId() { result = this }
|
||||
|
||||
/**
|
||||
* Holds if `source` is a relevant data flow source for this configuration.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user