|
| 1 | +stmts.kt: |
| 2 | +# 0| [CompilationUnit] stmts |
| 3 | +# 0| 1: [Class] StmtsKt |
| 4 | +# 2| 1: [Method] topLevelMethod |
| 5 | +# 2| 3: [TypeAccess] int |
| 6 | +#-----| 4: (Parameters) |
| 7 | +# 2| 0: [Parameter] x |
| 8 | +# 2| 0: [TypeAccess] int |
| 9 | +# 2| 1: [Parameter] y |
| 10 | +# 2| 0: [TypeAccess] int |
| 11 | +# 2| 5: [BlockStmt] { ... } |
| 12 | +# 3| 0: [ExprStmt] <Expr>; |
| 13 | +# 3| 0: [WhenExpr] when ... |
| 14 | +# 3| 0: [WhenBranch] ... -> ... |
| 15 | +# 3| 0: [GTExpr] ... > ... |
| 16 | +# 3| 0: [VarAccess] x |
| 17 | +# 3| 1: [VarAccess] y |
| 18 | +# 3| 1: [BlockStmt] { ... } |
| 19 | +# 4| 1: [WhenBranch] ... -> ... |
| 20 | +# 4| 0: [LTExpr] ... < ... |
| 21 | +# 4| 0: [VarAccess] x |
| 22 | +# 4| 1: [VarAccess] y |
| 23 | +# 4| 1: [BlockStmt] { ... } |
| 24 | +# 5| 2: [WhenBranch] ... -> ... |
| 25 | +# 5| 0: [BooleanLiteral] true |
| 26 | +# 5| 1: [BlockStmt] { ... } |
| 27 | +# 7| 1: [WhileStmt] while (...) |
| 28 | +# 7| 0: [GTExpr] ... > ... |
| 29 | +# 7| 0: [VarAccess] x |
| 30 | +# 7| 1: [VarAccess] y |
| 31 | +# 8| 1: [ReturnStmt] return ... |
| 32 | +# 8| 0: [VarAccess] x |
| 33 | +# 9| 2: [WhileStmt] while (...) |
| 34 | +# 9| 0: [LTExpr] ... < ... |
| 35 | +# 9| 0: [VarAccess] x |
| 36 | +# 9| 1: [VarAccess] y |
| 37 | +# 9| 1: [BlockStmt] { ... } |
| 38 | +# 10| 0: [ReturnStmt] return ... |
| 39 | +# 10| 0: [VarAccess] y |
| 40 | +# 12| 3: [BlockStmt] { ... } |
| 41 | +# 12| 0: [DoStmt] do ... while (...) |
| 42 | +# 14| 0: [LTExpr] ... < ... |
| 43 | +# 14| 0: [VarAccess] x |
| 44 | +# 14| 1: [VarAccess] y |
| 45 | +# 12| 1: [BlockStmt] { ... } |
| 46 | +# 13| 0: [ReturnStmt] return ... |
| 47 | +# 13| 0: [VarAccess] y |
| 48 | +# 15| 4: [LocalVariableDeclStmt] var ...; |
| 49 | +# 15| 1: [LocalVariableDeclExpr] z |
| 50 | +# 15| 0: [IntegerLiteral] 3 |
| 51 | +# 17| 5: [LocalVariableDeclStmt] var ...; |
| 52 | +# 17| 1: [LocalVariableDeclExpr] q2 |
| 53 | +# 17| 0: [WhenExpr] when ... |
| 54 | +# 17| 0: [WhenBranch] ... -> ... |
| 55 | +# 17| 0: [BooleanLiteral] true |
| 56 | +# 17| 1: [BlockStmt] { ... } |
| 57 | +# 17| 0: [ExprStmt] <Expr>; |
| 58 | +# 17| 0: [AssignExpr] ...=... |
| 59 | +# 17| 0: [VarAccess] z |
| 60 | +# 17| 1: [IntegerLiteral] 4 |
| 61 | +# 17| 1: [WhenBranch] ... -> ... |
| 62 | +# 17| 0: [BooleanLiteral] true |
| 63 | +# 17| 1: [BlockStmt] { ... } |
| 64 | +# 17| 0: [ExprStmt] <Expr>; |
| 65 | +# 17| 0: [AssignExpr] ...=... |
| 66 | +# 17| 0: [VarAccess] z |
| 67 | +# 17| 1: [IntegerLiteral] 5 |
| 68 | +# 18| 6: [LocalVariableDeclStmt] var ...; |
| 69 | +# 18| 1: [LocalVariableDeclExpr] q3 |
| 70 | +# 18| 0: [WhenExpr] when ... |
| 71 | +# 18| 0: [WhenBranch] ... -> ... |
| 72 | +# 18| 0: [BooleanLiteral] true |
| 73 | +# 18| 1: [ExprStmt] <Expr>; |
| 74 | +# 18| 0: [AssignExpr] ...=... |
| 75 | +# 18| 0: [VarAccess] z |
| 76 | +# 18| 1: [IntegerLiteral] 4 |
| 77 | +# 18| 1: [WhenBranch] ... -> ... |
| 78 | +# 18| 0: [BooleanLiteral] true |
| 79 | +# 18| 1: [ExprStmt] <Expr>; |
| 80 | +# 18| 0: [AssignExpr] ...=... |
| 81 | +# 18| 0: [VarAccess] z |
| 82 | +# 18| 1: [IntegerLiteral] 5 |
| 83 | +# 19| 7: [ReturnStmt] return ... |
| 84 | +# 19| 0: [AddExpr] ... + ... |
| 85 | +# 19| 0: [VarAccess] x |
| 86 | +# 19| 1: [VarAccess] y |
| 87 | +# 22| 2: [Method] loops |
| 88 | +# 22| 3: [TypeAccess] Unit |
| 89 | +#-----| 4: (Parameters) |
| 90 | +# 22| 0: [Parameter] x |
| 91 | +# 22| 0: [TypeAccess] int |
| 92 | +# 22| 1: [Parameter] y |
| 93 | +# 22| 0: [TypeAccess] int |
| 94 | +# 22| 5: [BlockStmt] { ... } |
| 95 | +# 23| 0: [LabeledStmt] <Label>: ... |
| 96 | +# 23| 0: [WhileStmt] while (...) |
| 97 | +# 23| 0: [LTExpr] ... < ... |
| 98 | +# 23| 0: [VarAccess] x |
| 99 | +# 23| 1: [IntegerLiteral] 100 |
| 100 | +# 23| 1: [BlockStmt] { ... } |
| 101 | +# 24| 0: [BlockStmt] { ... } |
| 102 | +# 24| 0: [DoStmt] do ... while (...) |
| 103 | +# 26| 0: [GTExpr] ... > ... |
| 104 | +# 26| 0: [VarAccess] y |
| 105 | +# 26| 1: [IntegerLiteral] 100 |
| 106 | +# 24| 1: [BlockStmt] { ... } |
| 107 | +# 25| 0: [ExprStmt] <Expr>; |
| 108 | +# 25| 0: [WhenExpr] when ... |
| 109 | +# 25| 0: [WhenBranch] ... -> ... |
| 110 | +# 25| 0: [GTExpr] ... > ... |
| 111 | +# 25| 0: [VarAccess] x |
| 112 | +# 25| 1: [VarAccess] y |
| 113 | +# 25| 1: [BreakStmt] break |
| 114 | +# 28| 1: [WhileStmt] while (...) |
| 115 | +# 28| 0: [GTExpr] ... > ... |
| 116 | +# 28| 0: [VarAccess] x |
| 117 | +# 28| 1: [VarAccess] y |
| 118 | +# 29| 1: [ContinueStmt] continue |
| 119 | +# 31| 2: [BlockStmt] { ... } |
| 120 | +# 31| 0: [LocalVariableDeclStmt] var ...; |
| 121 | +# 31| 1: [LocalVariableDeclExpr] tmp0_iterator |
| 122 | +# 31| 0: [MethodAccess] iterator(...) |
| 123 | +# 31| -1: [MethodAccess] rangeTo(...) |
| 124 | +# 31| -1: [VarAccess] x |
| 125 | +# 31| 0: [VarAccess] y |
| 126 | +# 31| 1: [WhileStmt] while (...) |
| 127 | +# 31| 0: [MethodAccess] hasNext(...) |
| 128 | +# 31| -1: [VarAccess] tmp0_iterator |
| 129 | +# 31| 1: [BlockStmt] { ... } |
| 130 | +# 31| 0: [LocalVariableDeclStmt] var ...; |
| 131 | +# 31| 1: [LocalVariableDeclExpr] i |
| 132 | +# 31| 0: [MethodAccess] next(...) |
| 133 | +# 31| -1: [VarAccess] tmp0_iterator |
| 134 | +# 31| 1: [BlockStmt] { ... } |
| 135 | +# 32| 0: [ExprStmt] <Expr>; |
| 136 | +# 32| 0: [WhenExpr] when ... |
| 137 | +# 32| 0: [WhenBranch] ... -> ... |
| 138 | +# 32| 0: [GTExpr] ... > ... |
| 139 | +# 32| 0: [VarAccess] x |
| 140 | +# 32| 1: [VarAccess] y |
| 141 | +# 32| 1: [BreakStmt] break |
| 142 | +# 35| 3: [BlockStmt] { ... } |
| 143 | +# 35| 0: [LocalVariableDeclStmt] var ...; |
| 144 | +# 35| 1: [LocalVariableDeclExpr] tmp1_iterator |
| 145 | +# 35| 0: [MethodAccess] iterator(...) |
| 146 | +# 35| -1: [MethodAccess] rangeTo(...) |
| 147 | +# 35| -1: [VarAccess] x |
| 148 | +# 35| 0: [VarAccess] y |
| 149 | +# 35| 1: [LabeledStmt] <Label>: ... |
| 150 | +# 35| 0: [WhileStmt] while (...) |
| 151 | +# 35| 0: [MethodAccess] hasNext(...) |
| 152 | +# 35| -1: [VarAccess] tmp1_iterator |
| 153 | +# 35| 1: [BlockStmt] { ... } |
| 154 | +# 35| 0: [LocalVariableDeclStmt] var ...; |
| 155 | +# 35| 1: [LocalVariableDeclExpr] i |
| 156 | +# 35| 0: [MethodAccess] next(...) |
| 157 | +# 35| -1: [VarAccess] tmp1_iterator |
| 158 | +# 35| 1: [BlockStmt] { ... } |
| 159 | +# 36| 0: [BlockStmt] { ... } |
| 160 | +# 36| 0: [DoStmt] do ... while (...) |
| 161 | +# 38| 0: [GTExpr] ... > ... |
| 162 | +# 38| 0: [VarAccess] y |
| 163 | +# 38| 1: [IntegerLiteral] 100 |
| 164 | +# 36| 1: [BlockStmt] { ... } |
| 165 | +# 37| 0: [ExprStmt] <Expr>; |
| 166 | +# 37| 0: [WhenExpr] when ... |
| 167 | +# 37| 0: [WhenBranch] ... -> ... |
| 168 | +# 37| 0: [GTExpr] ... > ... |
| 169 | +# 37| 0: [VarAccess] x |
| 170 | +# 37| 1: [VarAccess] y |
| 171 | +# 37| 1: [BreakStmt] break |
| 172 | +# 41| 4: [BlockStmt] { ... } |
| 173 | +# 41| 0: [LocalVariableDeclStmt] var ...; |
| 174 | +# 41| 1: [LocalVariableDeclExpr] tmp2_iterator |
| 175 | +# 41| 0: [MethodAccess] iterator(...) |
| 176 | +# 41| -1: [MethodAccess] withIndex(...) |
| 177 | +# 41| -2: [TypeAccess] Integer |
| 178 | +# 41| -1: [TypeAccess] CollectionsKt |
| 179 | +# 41| 0: [MethodAccess] rangeTo(...) |
| 180 | +# 41| -1: [VarAccess] x |
| 181 | +# 41| 0: [VarAccess] y |
| 182 | +# 41| 1: [WhileStmt] while (...) |
| 183 | +# 41| 0: [MethodAccess] hasNext(...) |
| 184 | +# 41| -1: [VarAccess] tmp2_iterator |
| 185 | +# 41| 1: [BlockStmt] { ... } |
| 186 | +# 41| 0: [LocalVariableDeclStmt] var ...; |
| 187 | +# 41| 1: [LocalVariableDeclExpr] tmp3_loop_parameter |
| 188 | +# 41| 0: [MethodAccess] next(...) |
| 189 | +# 41| -1: [VarAccess] tmp2_iterator |
| 190 | +# 41| 1: [LocalVariableDeclStmt] var ...; |
| 191 | +# 41| 1: [LocalVariableDeclExpr] v |
| 192 | +# 41| 0: [MethodAccess] component1(...) |
| 193 | +# 41| -1: [VarAccess] tmp3_loop_parameter |
| 194 | +# 41| 2: [LocalVariableDeclStmt] var ...; |
| 195 | +# 41| 1: [LocalVariableDeclExpr] i |
| 196 | +# 41| 0: [MethodAccess] component2(...) |
| 197 | +# 41| -1: [VarAccess] tmp3_loop_parameter |
| 198 | +# 41| 3: [BlockStmt] { ... } |
| 199 | +# 42| 0: [ExprStmt] <Expr>; |
| 200 | +# 42| 0: [WhenExpr] when ... |
| 201 | +# 42| 0: [WhenBranch] ... -> ... |
| 202 | +# 42| 0: [GTExpr] ... > ... |
| 203 | +# 42| 0: [VarAccess] x |
| 204 | +# 42| 1: [VarAccess] y |
| 205 | +# 42| 1: [BreakStmt] break |
| 206 | +# 46| 3: [Method] exceptions |
| 207 | +# 46| 3: [TypeAccess] int |
| 208 | +# 46| 5: [BlockStmt] { ... } |
| 209 | +# 47| 0: [TryStmt] try ... |
| 210 | +# 53| -2: [BlockStmt] { ... } |
| 211 | +# 54| 0: [ReturnStmt] return ... |
| 212 | +# 54| 0: [IntegerLiteral] 2 |
| 213 | +# 47| -1: [BlockStmt] { ... } |
| 214 | +# 48| 0: [ThrowStmt] throw ... |
| 215 | +# 48| 0: [ClassInstanceExpr] new Exception(...) |
| 216 | +# 48| -3: [TypeAccess] Exception |
| 217 | +# 48| 0: [StringLiteral] Foo |
| 218 | +# 50| 0: [CatchClause] catch (...) |
| 219 | +#-----| 0: (Single Local Variable Declaration) |
| 220 | +# 50| 0: [TypeAccess] Exception |
| 221 | +# 50| 1: [LocalVariableDeclExpr] e |
| 222 | +# 50| 1: [BlockStmt] { ... } |
| 223 | +# 51| 0: [ReturnStmt] return ... |
| 224 | +# 51| 0: [IntegerLiteral] 1 |
0 commit comments