We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ba3b11 commit 9ed32b1Copy full SHA for 9ed32b1
1 file changed
powershell/ql/lib/semmle/code/powershell/ast/internal/CallExpr.qll
@@ -26,10 +26,16 @@ class CallExpr extends Expr, TCallExpr {
26
*/
27
Expr getCallee() { none() }
28
29
- /** Holds if an argument with name `name` is provided to this call. */
+ /**
30
+ * Holds if an argument with name `name` is provided to this call.
31
+ * Note: `name` is normalized to lower case.
32
+ */
33
final predicate hasNamedArgument(string name) { exists(this.getNamedArgument(name)) }
34
- /** Gets the argument to this call with the name `name`. */
35
36
+ * Gets the named argument with the given name.
37
38
39
Expr getNamedArgument(string name) { none() }
40
41
/** Gets any argument to this call. */
0 commit comments