@@ -3079,6 +3079,49 @@ samConversion.kt:
30793079# 43| 1: [IntegerLiteral] 22
30803080# 43| -3: [TypeAccess] FunctionN<Boolean>
30813081# 43| 0: [TypeAccess] Boolean
3082+ # 46| 3: [LocalVariableDeclStmt] var ...;
3083+ # 46| 1: [LocalVariableDeclExpr] d
3084+ # 46| 0: [CastExpr] (...)...
3085+ # 46| 0: [TypeAccess] SomePredicate<Integer>
3086+ # 46| 0: [TypeAccess] Integer
3087+ # 46| 1: [ClassInstanceExpr] new (...)
3088+ # 46| -4: [AnonymousClass] new SomePredicate<Integer>(...) { ... }
3089+ # 46| 1: [Constructor]
3090+ #-----| 4: (Parameters)
3091+ # 46| 0: [Parameter] <fn>
3092+ # 46| 5: [BlockStmt] { ... }
3093+ # 46| 0: [SuperConstructorInvocationStmt] super(...)
3094+ # 46| 1: [ExprStmt] <Expr>;
3095+ # 46| 0: [AssignExpr] ...=...
3096+ # 46| 0: [VarAccess] this.<fn>
3097+ # 46| -1: [ThisAccess] this
3098+ # 46| 1: [VarAccess] <fn>
3099+ # 46| 1: [FieldDeclaration] Function1<Integer,Boolean> <fn>;
3100+ # 46| -1: [TypeAccess] Function1<Integer,Boolean>
3101+ # 50| 3: [Method] fn
3102+ #-----| 4: (Parameters)
3103+ # 50| 0: [Parameter] i
3104+ # 46| 5: [BlockStmt] { ... }
3105+ # 46| 0: [ReturnStmt] return ...
3106+ # 46| 0: [MethodAccess] invoke(...)
3107+ # 46| -1: [VarAccess] <fn>
3108+ # 46| 0: [VarAccess] i
3109+ # 46| -3: [TypeAccess] SomePredicate<Integer>
3110+ # 46| 0: [TypeAccess] Integer
3111+ # 46| 0: [LambdaExpr] ...->...
3112+ # 46| -4: [AnonymousClass] new Function1<Integer,Boolean>(...) { ... }
3113+ # 46| 1: [Constructor]
3114+ # 46| 5: [BlockStmt] { ... }
3115+ # 46| 0: [SuperConstructorInvocationStmt] super(...)
3116+ # 46| 1: [Method] invoke
3117+ #-----| 4: (Parameters)
3118+ # 46| 0: [Parameter] a
3119+ # 46| 5: [BlockStmt] { ... }
3120+ # 46| 0: [ReturnStmt] return ...
3121+ # 46| 0: [BooleanLiteral] true
3122+ # 46| -3: [TypeAccess] Function1<Integer,Boolean>
3123+ # 46| 0: [TypeAccess] Integer
3124+ # 46| 1: [TypeAccess] Boolean
30823125# 16| 2: [Interface] IntPredicate
30833126# 17| 1: [Method] accept
30843127#-----| 4: (Parameters)
@@ -3119,6 +3162,12 @@ samConversion.kt:
31193162# 33| 20: [Parameter] i20
31203163# 33| 21: [Parameter] i21
31213164# 33| 22: [Parameter] i22
3165+ # 49| 6: [GenericType,Interface,ParameterizedType] SomePredicate
3166+ #-----| -2: (Generic Parameters)
3167+ # 49| 0: [TypeVariable] T
3168+ # 50| 1: [Method] fn
3169+ #-----| 4: (Parameters)
3170+ # 50| 0: [Parameter] i
31223171whenExpr.kt:
31233172# 0| [CompilationUnit] whenExpr
31243173# 0| 1: [Class] WhenExprKt
0 commit comments