@@ -38,19 +38,23 @@ Test.java:
3838# 12| 0: [StringLiteral] "d"
3939# 13| 3: [DefaultCase] default
4040# 13| -1: [BlockStmt] { ... }
41- # 15| 2: [SwitchStmt] switch (...)
42- # 15| -1: [VarAccess] s
43- # 16| 0: [PatternCase] case T t ...
44- # 16| -3: [EQExpr] ... == ...
45- # 16| 0: [MethodCall] length(...)
46- # 16| -1: [VarAccess] s
47- # 16| 1: [IntegerLiteral] 4
48- # 16| -1: [BlockStmt] { ... }
49- #-----| 0: (Single Local Variable Declaration)
50- # 16| 0: [TypeAccess] String
51- # 16| 1: [LocalVariableDeclExpr] s2
52- # 17| 1: [ConstCase] case ...
41+ # 15| 2: [LocalVariableDeclStmt] var ...;
42+ # 15| 0: [TypeAccess] int
43+ # 15| 1: [LocalVariableDeclExpr] len
44+ # 15| 0: [MethodCall] length(...)
45+ # 15| -1: [VarAccess] s
46+ # 16| 3: [SwitchStmt] switch (...)
47+ # 16| -1: [VarAccess] s
48+ # 17| 0: [PatternCase] case T t ...
49+ # 17| -3: [EQExpr] ... == ...
50+ # 17| 0: [VarAccess] len
51+ # 17| 1: [IntegerLiteral] 4
5352# 17| -1: [BlockStmt] { ... }
54- # 17| 0: [StringLiteral] "e"
55- # 18| 2: [DefaultCase] default
53+ #-----| 0: (Single Local Variable Declaration)
54+ # 17| 0: [TypeAccess] String
55+ # 17| 1: [LocalVariableDeclExpr] s2
56+ # 18| 1: [ConstCase] case ...
5657# 18| -1: [BlockStmt] { ... }
58+ # 18| 0: [StringLiteral] "e"
59+ # 19| 2: [DefaultCase] default
60+ # 19| -1: [BlockStmt] { ... }
0 commit comments