@@ -54,6 +54,69 @@ AnonymousObjectCreation.cs:
5454# 25| 1: [TypeMention] int
5555# 25| 0: [LocalVariableAccess] access to local variable list
5656# 25| 1: [ObjectCreation] object creation of type List<Int32>
57+ BinaryPattern.cs:
58+ # 3| [Class] BinaryPattern
59+ # 5| 5: [Property] P1
60+ # 5| -1: [TypeMention] int
61+ # 5| 3: [Getter] get_P1
62+ # 5| 4: [Setter] set_P1
63+ #-----| 2: (Parameters)
64+ # 5| 0: [Parameter] value
65+ # 7| 6: [Method] M1
66+ # 7| -1: [TypeMention] bool
67+ #-----| 2: (Parameters)
68+ # 7| 0: [Parameter] c
69+ # 7| -1: [TypeMention] char
70+ # 8| 4: [IsExpr] ... is ...
71+ # 8| 0: [ParameterAccess] access to parameter c
72+ # 8| 1: [OrPatternExpr] ... or ...
73+ # 8| 0: [CharLiteral,ConstantPatternExpr] a
74+ # 8| 1: [CharLiteral,ConstantPatternExpr] b
75+ # 9| 7: [Method] M2
76+ # 9| -1: [TypeMention] bool
77+ #-----| 2: (Parameters)
78+ # 9| 0: [Parameter] c
79+ # 9| -1: [TypeMention] object
80+ # 10| 4: [IsExpr] ... is ...
81+ # 10| 0: [ParameterAccess] access to parameter c
82+ # 10| 1: [AndPatternExpr] ... and ...
83+ # 10| 0: [VariablePatternExpr] Object o
84+ # 10| 0: [TypeMention] object
85+ # 10| 1: [RecursivePatternExpr] { ... }
86+ # 10| 0: [LocalVariableDeclExpr] BinaryPattern u
87+ # 10| 1: [TypeAccess] access to type BinaryPattern
88+ # 10| 0: [TypeMention] BinaryPattern
89+ # 10| 3: [PropertyPatternExpr] { ... }
90+ # 10| 0: [ConstantPatternExpr,IntLiteral,LabeledPatternExpr] 1
91+ # 11| 8: [Method] M3
92+ # 11| -1: [TypeMention] bool
93+ #-----| 2: (Parameters)
94+ # 11| 0: [Parameter] c
95+ # 11| -1: [TypeMention] object
96+ # 12| 4: [IsExpr] ... is ...
97+ # 12| 0: [ParameterAccess] access to parameter c
98+ # 12| 1: [AndPatternExpr] ... and ...
99+ # 12| 0: [VariablePatternExpr] Object o
100+ # 12| 0: [TypeMention] object
101+ # 12| 1: [VariablePatternExpr] BinaryPattern u
102+ # 12| 0: [TypeMention] BinaryPattern
103+ # 14| 9: [Method] M4
104+ # 14| -1: [TypeMention] string
105+ #-----| 2: (Parameters)
106+ # 14| 0: [Parameter] i
107+ # 14| -1: [TypeMention] int
108+ # 15| 4: [BlockStmt] {...}
109+ # 16| 0: [ReturnStmt] return ...;
110+ # 16| 0: [SwitchExpr] ... switch { ... }
111+ # 16| -1: [ParameterAccess] access to parameter i
112+ # 18| 0: [SwitchCaseExpr] ... => ...
113+ # 18| 0: [OrPatternExpr] ... or ...
114+ # 18| 0: [ConstantPatternExpr,IntLiteral] 1
115+ # 18| 1: [ConstantPatternExpr,IntLiteral] 2
116+ # 18| 2: [StringLiteral] "1 or 2"
117+ # 19| 1: [SwitchCaseExpr] ... => ...
118+ # 19| 0: [DiscardPatternExpr] _
119+ # 19| 2: [StringLiteral] "other"
57120Discard.cs:
58121# 3| [Class] Discard
59122# 5| 5: [Method] M1
0 commit comments