@@ -473,6 +473,63 @@ ParenthesizedPattern.cs:
473473# 27| 0: [TypeAccessPatternExpr] access to type String
474474# 27| 0: [TypeMention] string
475475# 27| 2: [IntLiteral] 5
476+ RelationalPattern.cs:
477+ # 3| [Class] RelationalPattern
478+ # 5| 5: [Method] M1
479+ # 5| -1: [TypeMention] bool
480+ #-----| 2: (Parameters)
481+ # 5| 0: [Parameter] c
482+ # 5| -1: [TypeMention] char
483+ # 6| 4: [IsExpr] ... is ...
484+ # 6| 0: [ParameterAccess] access to parameter c
485+ # 6| 1: [GEPattern] >= ...
486+ # 6| 0: [CharLiteral] a
487+ # 7| 6: [Method] M2
488+ # 7| -1: [TypeMention] bool
489+ #-----| 2: (Parameters)
490+ # 7| 0: [Parameter] c
491+ # 7| -1: [TypeMention] char
492+ # 8| 4: [IsExpr] ... is ...
493+ # 8| 0: [ParameterAccess] access to parameter c
494+ # 8| 1: [GTPattern] > ...
495+ # 8| 0: [CharLiteral] a
496+ # 9| 7: [Method] M3
497+ # 9| -1: [TypeMention] bool
498+ #-----| 2: (Parameters)
499+ # 9| 0: [Parameter] c
500+ # 9| -1: [TypeMention] char
501+ # 10| 4: [IsExpr] ... is ...
502+ # 10| 0: [ParameterAccess] access to parameter c
503+ # 10| 1: [LEPattern] <= ...
504+ # 10| 0: [CharLiteral] a
505+ # 11| 8: [Method] M4
506+ # 11| -1: [TypeMention] bool
507+ #-----| 2: (Parameters)
508+ # 11| 0: [Parameter] c
509+ # 11| -1: [TypeMention] char
510+ # 12| 4: [IsExpr] ... is ...
511+ # 12| 0: [ParameterAccess] access to parameter c
512+ # 12| 1: [LTPattern] < ...
513+ # 12| 0: [CharLiteral] a
514+ # 14| 9: [Method] M5
515+ # 14| -1: [TypeMention] string
516+ #-----| 2: (Parameters)
517+ # 14| 0: [Parameter] i
518+ # 14| -1: [TypeMention] int
519+ # 15| 4: [BlockStmt] {...}
520+ # 16| 0: [ReturnStmt] return ...;
521+ # 16| 0: [SwitchExpr] ... switch { ... }
522+ # 16| -1: [ParameterAccess] access to parameter i
523+ # 18| 0: [SwitchCaseExpr] ... => ...
524+ # 18| 0: [ConstantPatternExpr,IntLiteral] 1
525+ # 18| 2: [StringLiteral] "1"
526+ # 19| 1: [SwitchCaseExpr] ... => ...
527+ # 19| 0: [GTPattern] > ...
528+ # 19| 0: [IntLiteral] 1
529+ # 19| 2: [StringLiteral] ">1"
530+ # 20| 2: [SwitchCaseExpr] ... => ...
531+ # 20| 0: [DiscardPatternExpr] _
532+ # 20| 2: [StringLiteral] "other"
476533TargetType.cs:
477534# 5| [Class] TargetType
478535# 7| 5: [Method] M2
0 commit comments