mirror of
https://github.com/github/codeql.git
synced 2026-03-16 20:46:49 +01:00
24 lines
653 B
Plaintext
24 lines
653 B
Plaintext
/**
|
|
* Provides classes and predicates for working with the `webix` library.
|
|
*/
|
|
|
|
private import javascript
|
|
|
|
/**
|
|
* Provides classes and predicates for working with the `webix` library.
|
|
*/
|
|
module Webix {
|
|
/** The global variable `webix` as an entry point for API graphs. */
|
|
private class WebixGlobalEntry extends API::EntryPoint {
|
|
WebixGlobalEntry() { this = "WebixGlobalEntry" }
|
|
|
|
override DataFlow::SourceNode getASource() { result = DataFlow::globalVarRef("webix") }
|
|
}
|
|
|
|
/** Gets a reference to the Webix package. */
|
|
API::Node webix() {
|
|
result = API::moduleImport("webix") or
|
|
result = any(WebixGlobalEntry w).getANode()
|
|
}
|
|
}
|