File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
python/ql/lib/semmle/python Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -140,14 +140,6 @@ module API {
140
140
*/
141
141
int getNumParameter ( ) { result = max ( int s | exists ( this .getParameter ( s ) ) ) + 1 }
142
142
143
- /**
144
- * Gets a node representing the last parameter of the function represented by this node.
145
- *
146
- * This predicate may have multiple results when there are multiple invocations of this API component.
147
- * Consider using `getACall()` if there is a need to distingiush between individual calls.
148
- */
149
- Node getLastParameter ( ) { result = this .getParameter ( this .getNumParameter ( ) - 1 ) }
150
-
151
143
/**
152
144
* Gets a node representing a subclass of the class represented by this node.
153
145
*/
@@ -322,9 +314,6 @@ module API {
322
314
/** Gets the API node for a parameter of this invocation. */
323
315
Node getAParameter ( ) { result = this .getParameter ( _) }
324
316
325
- /** Gets the API node for the last parameter of this invocation. */
326
- Node getLastParameter ( ) { result = this .getParameter ( max ( int i | exists ( this .getArg ( i ) ) ) ) }
327
-
328
317
/** Gets the API node for the keyword parameter `name` of this invocation. */
329
318
Node getKeywordParameter ( string name ) {
330
319
result = callee .getKeywordParameter ( name ) and
You can’t perform that action at this time.
0 commit comments