Skip to content

Commit 9ed32b1

Browse files
committed
PS: Add some QLDoc.
1 parent 3ba3b11 commit 9ed32b1

File tree

1 file changed

+8
-2
lines changed
  • powershell/ql/lib/semmle/code/powershell/ast/internal

1 file changed

+8
-2
lines changed

powershell/ql/lib/semmle/code/powershell/ast/internal/CallExpr.qll

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,16 @@ class CallExpr extends Expr, TCallExpr {
2626
*/
2727
Expr getCallee() { none() }
2828

29-
/** Holds if an argument with name `name` is provided to this call. */
29+
/**
30+
* Holds if an argument with name `name` is provided to this call.
31+
* Note: `name` is normalized to lower case.
32+
*/
3033
final predicate hasNamedArgument(string name) { exists(this.getNamedArgument(name)) }
3134

32-
/** Gets the argument to this call with the name `name`. */
35+
/**
36+
* Gets the named argument with the given name.
37+
* Note: `name` is normalized to lower case.
38+
*/
3339
Expr getNamedArgument(string name) { none() }
3440

3541
/** Gets any argument to this call. */

0 commit comments

Comments
 (0)