mirror of
https://github.com/github/codeql.git
synced 2026-01-10 21:20:22 +01:00
17 lines
417 B
Plaintext
17 lines
417 B
Plaintext
/**
|
|
* Provides classes for working with [React Native](https://facebook.github.io/react-native) code.
|
|
*/
|
|
|
|
import javascript
|
|
|
|
module ReactNative {
|
|
/** A `WebView` JSX element. */
|
|
class WebViewElement extends DataFlow::ValueNode, DataFlow::SourceNode {
|
|
override JsxElement astNode;
|
|
|
|
WebViewElement() {
|
|
DataFlow::moduleMember("react-native", "WebView").flowsToExpr(astNode.getNameExpr())
|
|
}
|
|
}
|
|
}
|