File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed
rust/ql/lib/codeql/rust/elements/internal Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,6 @@ module Impl {
4444 override string toStringImpl ( ) { result = this .getFunction ( ) .toAbbreviatedString ( ) + "(...)" }
4545
4646 override Expr getSyntacticPositionalArgument ( int i ) { result = getSyntacticArg ( this , i ) }
47-
48- // todo: remove once internal query has been updated
49- Expr getArg ( int i ) { result = getSyntacticArg ( this , i ) }
50-
51- // todo: remove once internal query has been updated
52- int getNumberOfArgs ( ) { result = this .getNumberOfSyntacticArguments ( ) }
5347 }
5448
5549 /**
Original file line number Diff line number Diff line change @@ -39,9 +39,6 @@ module Impl {
3939 /** Gets an argument of this call. */
4040 Expr getAnArgument ( ) { result = this .getArgument ( _) }
4141
42- // todo: remove once internal query has been updated
43- Expr getReceiver ( ) { none ( ) }
44-
4542 /**
4643 * Gets the `i`th positional argument of this call.
4744 *
@@ -71,9 +68,6 @@ module Impl {
7168 /** Gets the name of the function called, if any. */
7269 string getTargetName ( ) { result = this .getStaticTarget ( ) .getName ( ) .getText ( ) }
7370
74- // todo: remove once internal query has been updated
75- string getMethodName ( ) { result = this .getTargetName ( ) }
76-
7771 /** Gets a runtime target of this call, if any. */
7872 pragma [ nomagic]
7973 Function getARuntimeTarget ( ) {
@@ -110,6 +104,6 @@ module Impl {
110104 * x[y]; // `x` is receiver
111105 * ```
112106 */
113- override Expr getReceiver ( ) { none ( ) }
107+ Expr getReceiver ( ) { none ( ) }
114108 }
115109}
You can’t perform that action at this time.
0 commit comments