|
| 1 | +FunctionPointer.cs: |
| 2 | +# 9| [MethodAccess] access to method M0 |
1 | 3 | AnonymousObjectCreation.cs: |
2 | 4 | # 5| [Class] AnonObj |
3 | 5 | # 7| 5: [Field] l |
@@ -103,6 +105,94 @@ Discard.cs: |
103 | 105 | # 10| 4: [BlockStmt] {...} |
104 | 106 | # 10| 0: [ReturnStmt] return ...; |
105 | 107 | # 10| 0: [IntLiteral] 0 |
| 108 | +FunctionPointer.cs: |
| 109 | +# 5| [Class] FnPointer |
| 110 | +# 7| 5: [Class] Program |
| 111 | +# 9| 5: [Field] pointer |
| 112 | +# 9| -1: [TypeMention] delegate* default<Int32> |
| 113 | +# 9| 1: [AssignExpr] ... = ... |
| 114 | +# 9| 0: [FieldAccess] access to field pointer |
| 115 | +# 11| 6: [Method] M0 |
| 116 | +# 11| -1: [TypeMention] int |
| 117 | +# 12| 4: [BlockStmt] {...} |
| 118 | +# 13| 0: [ReturnStmt] return ...; |
| 119 | +# 13| 0: [IntLiteral] 0 |
| 120 | +# 16| 7: [Method] M1 |
| 121 | +# 16| -1: [TypeMention] Void |
| 122 | +#-----| 2: (Parameters) |
| 123 | +# 16| 0: [Parameter] f |
| 124 | +# 16| -1: [TypeMention] delegate* default<Int32 ref,Object out,Int32> |
| 125 | +# 17| 4: [BlockStmt] {...} |
| 126 | +# 18| 0: [LocalVariableDeclStmt] ... ...; |
| 127 | +# 18| 0: [LocalVariableDeclAndInitExpr] Int32 i = ... |
| 128 | +# 18| -1: [TypeMention] int |
| 129 | +# 18| 0: [LocalVariableAccess] access to local variable i |
| 130 | +# 18| 1: [IntLiteral] 42 |
| 131 | +# 19| 1: [LocalVariableDeclStmt] ... ...; |
| 132 | +# 19| 0: [LocalVariableDeclAndInitExpr] Int32 j = ... |
| 133 | +# 19| -1: [TypeMention] int |
| 134 | +# 19| 0: [LocalVariableAccess] access to local variable j |
| 135 | +# 19| 1: [FunctionPointerCall] function pointer call |
| 136 | +# 19| -1: [ParameterAccess] access to parameter f |
| 137 | +# 19| 0: [LocalVariableAccess] access to local variable i |
| 138 | +# 19| 1: [LocalVariableAccess,LocalVariableDeclExpr] Object o |
| 139 | +# 22| 8: [Method] M2 |
| 140 | +# 22| -1: [TypeMention] Void |
| 141 | +#-----| 1: (Type parameters) |
| 142 | +# 22| 0: [TypeParameter] T |
| 143 | +#-----| 2: (Parameters) |
| 144 | +# 22| 0: [Parameter] f |
| 145 | +# 22| -1: [TypeMention] delegate* stdcall<Int32 ref,Object out,T,Void> |
| 146 | +# 23| 4: [BlockStmt] {...} |
| 147 | +# 24| 0: [LocalVariableDeclStmt] ... ...; |
| 148 | +# 24| 0: [LocalVariableDeclAndInitExpr] Int32 i = ... |
| 149 | +# 24| -1: [TypeMention] int |
| 150 | +# 24| 0: [LocalVariableAccess] access to local variable i |
| 151 | +# 24| 1: [IntLiteral] 42 |
| 152 | +# 25| 1: [ExprStmt] ...; |
| 153 | +# 25| 0: [FunctionPointerCall] function pointer call |
| 154 | +# 25| -1: [ParameterAccess] access to parameter f |
| 155 | +# 25| 0: [LocalVariableAccess] access to local variable i |
| 156 | +# 25| 1: [LocalVariableAccess,LocalVariableDeclExpr] Object o |
| 157 | +# 25| 2: [ObjectCreation] object creation of type T |
| 158 | +# 25| 0: [TypeMention] T |
| 159 | +# 28| 9: [Method] M3 |
| 160 | +# 28| -1: [TypeMention] Void |
| 161 | +#-----| 2: (Parameters) |
| 162 | +# 28| 0: [Parameter] f |
| 163 | +# 28| -1: [TypeMention] delegate* default<Int32 ref,Object out,Int32 in,Int32 ref> |
| 164 | +# 29| 4: [BlockStmt] {...} |
| 165 | +# 30| 0: [LocalVariableDeclStmt] ... ...; |
| 166 | +# 30| 0: [LocalVariableDeclAndInitExpr] Int32 i = ... |
| 167 | +# 30| -1: [TypeMention] int |
| 168 | +# 30| 0: [LocalVariableAccess] access to local variable i |
| 169 | +# 30| 1: [IntLiteral] 42 |
| 170 | +# 31| 1: [LocalVariableDeclStmt] ... ...; |
| 171 | +# 31| 0: [LocalVariableDeclAndInitExpr] Int32 j = ... |
| 172 | +# 31| -1: [TypeMention] null |
| 173 | +# 31| 0: [LocalVariableAccess] access to local variable j |
| 174 | +# 31| 1: [RefExpr] ref ... |
| 175 | +# 31| 0: [FunctionPointerCall] function pointer call |
| 176 | +# 31| -1: [ParameterAccess] access to parameter f |
| 177 | +# 31| 0: [LocalVariableAccess] access to local variable i |
| 178 | +# 31| 1: [LocalVariableAccess,LocalVariableDeclExpr] Object o |
| 179 | +# 31| 2: [LocalVariableAccess] access to local variable i |
| 180 | +# 34| 10: [Method] M4 |
| 181 | +# 34| -1: [TypeMention] Void |
| 182 | +#-----| 1: (Type parameters) |
| 183 | +# 34| 0: [TypeParameter] T |
| 184 | +#-----| 2: (Parameters) |
| 185 | +# 34| 0: [Parameter] f |
| 186 | +# 34| -1: [TypeMention] delegate* default<T,Int32> |
| 187 | +# 35| 4: [BlockStmt] {...} |
| 188 | +# 36| 0: [LocalVariableDeclStmt] ... ...; |
| 189 | +# 36| 0: [LocalVariableDeclAndInitExpr] Int32 j = ... |
| 190 | +# 36| -1: [TypeMention] int |
| 191 | +# 36| 0: [LocalVariableAccess] access to local variable j |
| 192 | +# 36| 1: [FunctionPointerCall] function pointer call |
| 193 | +# 36| -1: [ParameterAccess] access to parameter f |
| 194 | +# 36| 0: [ObjectCreation] object creation of type T |
| 195 | +# 36| 0: [TypeMention] T |
106 | 196 | InitOnlyProperty.cs: |
107 | 197 | # 3| [NamespaceDeclaration] namespace ... { ... } |
108 | 198 | # 5| 1: [Class] IsExternalInit |
@@ -136,6 +226,8 @@ InitOnlyProperty.cs: |
136 | 226 | # 18| [Class] Derived |
137 | 227 | #-----| 3: (Base types) |
138 | 228 | # 18| 0: [TypeMention] Base |
| 229 | +# 18| 0: [TypeMention] Base |
| 230 | +# 18| 0: [TypeMention] Base |
139 | 231 | # 20| 5: [Property] Prop1 |
140 | 232 | # 20| -1: [TypeMention] int |
141 | 233 | # 20| 3: [Getter] get_Prop1 |
|
0 commit comments