Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Function.getArgByName
1 parent a66f836 commit d4564d5Copy full SHA for d4564d5
1 file changed
python/ql/lib/semmle/python/Function.qll
@@ -58,6 +58,7 @@ class Function extends Function_, Scope, AstNode {
58
/** Gets the name of the nth argument (for simple arguments) */
59
string getArgName(int index) { result = this.getArg(index).(Name).getId() }
60
61
+ /** Gets the parameter of this function with the name `name`. */
62
Parameter getArgByName(string name) {
63
(
64
result = this.getAnArg()
0 commit comments