@@ -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,19 +1008,15 @@ 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.
10151015 *
10161016 * Note that the resolved function may be overridden in a subclass and thus is not
10171017 * necessarily the actual target of this invocation at runtime.
10181018 */
1019- Function getResolvedCallee ( ) {
1020- TypeResolution:: callTarget ( this , result )
1021- or
1022- result = this .getResolvedCalleeName ( ) .getImplementation ( )
1023- }
1019+ Function getResolvedCallee ( ) { TypeResolution:: callTarget ( this , result ) }
10241020}
10251021
10261022/**
0 commit comments