@@ -6,7 +6,7 @@ import TestUtilities.InlineExpectationsTest
66// -----------------------------------------------------------------------------
77// tracked
88// -----------------------------------------------------------------------------
9- DataFlow:: LocalSourceNode tracked ( TypeTracker t ) {
9+ private DataFlow:: LocalSourceNode tracked ( TypeTracker t ) {
1010 t .start ( ) and
1111 result .asCfgNode ( ) = any ( NameNode n | n .getId ( ) = "tracked" )
1212 or
@@ -34,14 +34,14 @@ class TrackedTest extends InlineExpectationsTest {
3434// -----------------------------------------------------------------------------
3535// int + str
3636// -----------------------------------------------------------------------------
37- DataFlow:: LocalSourceNode int_type ( TypeTracker t ) {
37+ private DataFlow:: LocalSourceNode int_type ( TypeTracker t ) {
3838 t .start ( ) and
3939 result .asCfgNode ( ) = any ( CallNode c | c .getFunction ( ) .( NameNode ) .getId ( ) = "int" )
4040 or
4141 exists ( TypeTracker t2 | result = int_type ( t2 ) .track ( t2 , t ) )
4242}
4343
44- DataFlow:: LocalSourceNode string_type ( TypeTracker t ) {
44+ private DataFlow:: LocalSourceNode string_type ( TypeTracker t ) {
4545 t .start ( ) and
4646 result .asCfgNode ( ) = any ( CallNode c | c .getFunction ( ) .( NameNode ) .getId ( ) = "str" )
4747 or
@@ -83,7 +83,7 @@ class TrackedStringTest extends InlineExpectationsTest {
8383// -----------------------------------------------------------------------------
8484// tracked_self
8585// -----------------------------------------------------------------------------
86- DataFlow:: LocalSourceNode tracked_self ( TypeTracker t ) {
86+ private DataFlow:: LocalSourceNode tracked_self ( TypeTracker t ) {
8787 t .start ( ) and
8888 exists ( Function f |
8989 f .isMethod ( ) and
0 commit comments