@@ -176,7 +176,7 @@ class Expr extends @expr, ExprOrStmt, ExprOrType, AST::ValueNode {
176176 * Has no result if the expression is in a JavaScript file or in a TypeScript
177177 * file that was extracted without type information.
178178 */
179- Type getType ( ) { ast_node_type ( this , result ) }
179+ deprecated Type getType ( ) { ast_node_type ( this , result ) }
180180
181181 /**
182182 * Holds if the syntactic context that the expression appears in relies on the expression
@@ -993,7 +993,7 @@ class InvokeExpr extends @invokeexpr, Expr {
993993 *
994994 * This predicate is only populated for files extracted with full TypeScript extraction.
995995 */
996- CallSignatureType getResolvedSignature ( ) { invoke_expr_signature ( this , result ) }
996+ deprecated CallSignatureType getResolvedSignature ( ) { invoke_expr_signature ( this , result ) }
997997
998998 /**
999999 * Gets the index of the targeted call signature among the overload signatures
@@ -1008,7 +1008,7 @@ class InvokeExpr extends @invokeexpr, Expr {
10081008 *
10091009 * This predicate is only populated for files extracted with full TypeScript extraction.
10101010 */
1011- CanonicalFunctionName getResolvedCalleeName ( ) { ast_node_symbol ( this , result ) }
1011+ deprecated CanonicalFunctionName getResolvedCalleeName ( ) { ast_node_symbol ( this , result ) }
10121012
10131013 /**
10141014 * Gets the statically resolved target function, as determined by the TypeScript type system, if any.
@@ -1018,11 +1018,7 @@ class InvokeExpr extends @invokeexpr, Expr {
10181018 * Note that the resolved function may be overridden in a subclass and thus is not
10191019 * necessarily the actual target of this invocation at runtime.
10201020 */
1021- Function getResolvedCallee ( ) {
1022- TypeResolution:: callTarget ( this , result )
1023- or
1024- result = this .getResolvedCalleeName ( ) .getImplementation ( )
1025- }
1021+ Function getResolvedCallee ( ) { TypeResolution:: callTarget ( this , result ) }
10261022}
10271023
10281024/**
0 commit comments