We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getUnderlyingValue()
1 parent 226e066 commit bbdeca3Copy full SHA for bbdeca3
javascript/ql/src/semmle/javascript/Expr.qll
@@ -1569,7 +1569,7 @@ private string getConcatenatedString(Expr add) {
1569
* Gets an operand from `add`.
1570
* Is specialized to `AddExpr` such that `getAnAddOperand*(add)` can be used to get a leaf from a string-concatenation transitively.
1571
*/
1572
-private Expr getAnAddOperand(AddExpr add) { result = add.getAnOperand() }
+private Expr getAnAddOperand(AddExpr add) { result = add.getAnOperand().getUnderlyingValue() }
1573
1574
/**
1575
* A subtraction expression.
0 commit comments