@@ -49,6 +49,7 @@ abstract class DataFlowCall extends TDataFlowCall {
49
49
/** Gets the underlying source code call, if any. */
50
50
abstract CallCfgNode asCall ( ) ;
51
51
52
+ /** Gets a textual representation of this call. */
52
53
abstract string toString ( ) ;
53
54
54
55
/** Gets the location of this call. */
@@ -189,14 +190,14 @@ module Node {
189
190
190
191
/** A data flow node that represents a value returned by a callable. */
191
192
final class ReturnNode extends ExprNode {
192
- ReturnNode ( ) { this .getCfgNode ( ) . getASuccessor ( ) instanceof ExitCfgNode }
193
+ ReturnNode ( ) { this .asExpr ( ) instanceof ReturnExpr }
193
194
194
195
ReturnKind getKind ( ) { any ( ) }
195
196
}
196
197
197
198
/** A data-flow node that represents the output of a call. */
198
199
abstract class OutNode extends Node , ExprNode {
199
- /** Gets the underlying call, where this node is a corresponding output of kind `kind` . */
200
+ /** Gets the underlying call for this node. */
200
201
abstract DataFlowCall getCall ( ) ;
201
202
}
202
203
@@ -284,11 +285,11 @@ module LocalFlow {
284
285
}
285
286
}
286
287
287
- class DataFlowCallableAlias = DataFlowCallable ;
288
+ private class DataFlowCallableAlias = DataFlowCallable ;
288
289
289
- class ReturnKindAlias = ReturnKind ;
290
+ private class ReturnKindAlias = ReturnKind ;
290
291
291
- class DataFlowCallAlias = DataFlowCall ;
292
+ private class DataFlowCallAlias = DataFlowCall ;
292
293
293
294
module RustDataFlow implements InputSig< Location > {
294
295
/**
0 commit comments