@@ -335,6 +335,63 @@ ParenthesizedPattern.cs:
335335# 27| 0: [TypeAccessPatternExpr] access to type String
336336# 27| 0: [TypeMention] string
337337# 27| 2: [IntLiteral] 5
338+ RelationalPattern.cs:
339+ # 3| [Class] RelationalPattern
340+ # 5| 5: [Method] M1
341+ # 5| -1: [TypeMention] bool
342+ #-----| 2: (Parameters)
343+ # 5| 0: [Parameter] c
344+ # 5| -1: [TypeMention] char
345+ # 6| 4: [IsExpr] ... is ...
346+ # 6| 0: [ParameterAccess] access to parameter c
347+ # 6| 1: [GEPattern] >= ...
348+ # 6| 0: [CharLiteral] a
349+ # 7| 6: [Method] M2
350+ # 7| -1: [TypeMention] bool
351+ #-----| 2: (Parameters)
352+ # 7| 0: [Parameter] c
353+ # 7| -1: [TypeMention] char
354+ # 8| 4: [IsExpr] ... is ...
355+ # 8| 0: [ParameterAccess] access to parameter c
356+ # 8| 1: [GTPattern] > ...
357+ # 8| 0: [CharLiteral] a
358+ # 9| 7: [Method] M3
359+ # 9| -1: [TypeMention] bool
360+ #-----| 2: (Parameters)
361+ # 9| 0: [Parameter] c
362+ # 9| -1: [TypeMention] char
363+ # 10| 4: [IsExpr] ... is ...
364+ # 10| 0: [ParameterAccess] access to parameter c
365+ # 10| 1: [LEPattern] <= ...
366+ # 10| 0: [CharLiteral] a
367+ # 11| 8: [Method] M4
368+ # 11| -1: [TypeMention] bool
369+ #-----| 2: (Parameters)
370+ # 11| 0: [Parameter] c
371+ # 11| -1: [TypeMention] char
372+ # 12| 4: [IsExpr] ... is ...
373+ # 12| 0: [ParameterAccess] access to parameter c
374+ # 12| 1: [LTPattern] < ...
375+ # 12| 0: [CharLiteral] a
376+ # 14| 9: [Method] M5
377+ # 14| -1: [TypeMention] string
378+ #-----| 2: (Parameters)
379+ # 14| 0: [Parameter] i
380+ # 14| -1: [TypeMention] int
381+ # 15| 4: [BlockStmt] {...}
382+ # 16| 0: [ReturnStmt] return ...;
383+ # 16| 0: [SwitchExpr] ... switch { ... }
384+ # 16| -1: [ParameterAccess] access to parameter i
385+ # 18| 0: [SwitchCaseExpr] ... => ...
386+ # 18| 0: [ConstantPatternExpr,IntLiteral] 1
387+ # 18| 2: [StringLiteral] "1"
388+ # 19| 1: [SwitchCaseExpr] ... => ...
389+ # 19| 0: [GTPattern] > ...
390+ # 19| 0: [IntLiteral] 1
391+ # 19| 2: [StringLiteral] ">1"
392+ # 20| 2: [SwitchCaseExpr] ... => ...
393+ # 20| 0: [DiscardPatternExpr] _
394+ # 20| 2: [StringLiteral] "other"
338395TargetType.cs:
339396# 5| [Class] TargetType
340397# 7| 5: [Method] M2
0 commit comments