mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
JS: Tweak ExprNode
This commit is contained in:
@@ -1263,6 +1263,7 @@ module DataFlow {
|
||||
/**
|
||||
* Gets the data flow node corresponding to `e`.
|
||||
*/
|
||||
pragma[inline]
|
||||
ExprNode exprNode(Expr e) { result = valueNode(e) }
|
||||
|
||||
/** Gets the data flow node corresponding to `ssa`. */
|
||||
|
||||
@@ -19,6 +19,9 @@ private import internal.CallGraphs
|
||||
*/
|
||||
class ExprNode extends DataFlow::ValueNode {
|
||||
override Expr astNode;
|
||||
|
||||
pragma[nomagic]
|
||||
ExprNode() { any() }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user