Files
codeql/javascript/ql/lib/semmle/javascript/frameworks/ReactNative.qll
2022-03-11 11:10:33 +01:00

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())
}
}
}