JS: add utilities to DefensiveProgramming.qll

This commit is contained in:
Esben Sparre Andreasen
2018-10-10 14:53:26 +02:00
parent a5eeba3c3a
commit 8086e88587

View File

@@ -6,7 +6,7 @@ import javascript
private import semmle.javascript.dataflow.InferredTypes
/**
* The test in a defensive programming pattern.
* A test in a defensive programming pattern.
*/
abstract class DefensiveExpression extends DataFlow::ValueNode {
/** Gets the unique Boolean value that this test evaluates to, if any. */