|
| 1 | +Test.java: |
| 2 | +# 0| [CompilationUnit] Test |
| 3 | +# 1| 1: [Class] Test |
| 4 | +# 1| 4: [FieldDeclaration] int instanceField; |
| 5 | +# 1| -1: [TypeAccess] int |
| 6 | +# 1| 0: [IntegerLiteral] 10 |
| 7 | +# 2| 5: [FieldDeclaration] int STATIC_CONSTANT; |
| 8 | +# 2| -1: [TypeAccess] int |
| 9 | +# 2| 0: [IntegerLiteral] 42 |
| 10 | +# 3| 6: [FieldDeclaration] String privateField; |
| 11 | +# 3| -1: [TypeAccess] String |
| 12 | +# 3| 0: [StringLiteral] "data" |
| 13 | +# 5| 7: [Method] main |
| 14 | +# 5| 3: [TypeAccess] void |
| 15 | +# 5| 5: [BlockStmt] { ... } |
| 16 | +# 6| 0: [ExprStmt] <Expr>; |
| 17 | +# 6| 0: [MethodCall] processData(...) |
| 18 | +# 7| 1: [ExprStmt] <Expr>; |
| 19 | +# 7| 0: [MethodCall] testStaticAccess(...) |
| 20 | +# 11| 8: [Method] processData |
| 21 | +# 11| 3: [TypeAccess] void |
| 22 | +# 11| 5: [BlockStmt] { ... } |
| 23 | +# 12| 0: [ExprStmt] <Expr>; |
| 24 | +# 12| 0: [PostIncExpr] ...++ |
| 25 | +# 12| 0: [VarAccess] instanceField |
| 26 | +# 13| 1: [ExprStmt] <Expr>; |
| 27 | +# 13| 0: [MethodCall] updatePrivateField(...) |
| 28 | +# 16| 9: [Method] updatePrivateField |
| 29 | +# 16| 3: [TypeAccess] void |
| 30 | +# 16| 5: [BlockStmt] { ... } |
| 31 | +# 17| 0: [ExprStmt] <Expr>; |
| 32 | +# 17| 0: [AssignExpr] ...=... |
| 33 | +# 17| 0: [VarAccess] privateField |
| 34 | +# 17| 1: [StringLiteral] "updated" |
| 35 | +# 21| 10: [Method] testStaticAccess |
| 36 | +# 21| 3: [TypeAccess] void |
| 37 | +# 21| 5: [BlockStmt] { ... } |
| 38 | +# 22| 0: [ExprStmt] <Expr>; |
| 39 | +# 22| 0: [MethodCall] println(...) |
| 40 | +# 22| -1: [TypeAccess] IO |
| 41 | +# 22| 0: [StringLiteral] "Static access test" |
| 42 | +# 25| 11: [Class] NotCompact |
0 commit comments