-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathPrintAst.expected
More file actions
40 lines (40 loc) · 1.49 KB
/
PrintAst.expected
File metadata and controls
40 lines (40 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
fields/FieldTest.java:
# 0| [CompilationUnit] FieldTest
# 3| 1: [Class] FieldTest
# 4| 4: [FieldDeclaration] float ff, ...;
# 4| -1: [TypeAccess] float
# 4| 1: [FloatLiteral] 2.3f
# 5| 5: [FieldDeclaration] Object obj, ...;
# 5| -1: [TypeAccess] Object
# 5| 0: [NullLiteral] null
# 6| 6: [FieldDeclaration] List<> l, ...;
#-----| -2: (Annotations)
# 6| 1: [Annotation] SuppressWarnings
# 6| 1: [StringLiteral] "rawtypes"
# 6| -1: [TypeAccess] List<>
# 7| 7: [FieldDeclaration] int x;
# 7| -1: [TypeAccess] int
# 7| 0: [IntegerLiteral] 0
# 8| 8: [FieldDeclaration] int y;
# 8| -1: [TypeAccess] int
# 8| 0: [AssignExpr] ...=...
# 8| 0: [VarAccess] x
# 8| 1: [IntegerLiteral] 1
# 9| 9: [BlockStmt] { ... }
# 10| 0: [ExprStmt] <Expr>;
# 10| 0: [AssignExpr] ...=...
# 10| 0: [VarAccess] x
# 10| 1: [IntegerLiteral] 2
# 12| 10: [FieldDeclaration] int z;
# 12| -1: [TypeAccess] int
# 12| 0: [IntegerLiteral] 0
# 13| 11: [FieldDeclaration] int w;
# 13| -1: [TypeAccess] int
# 13| 0: [AssignExpr] ...=...
# 13| 0: [VarAccess] z
# 13| 1: [IntegerLiteral] 1
# 14| 12: [BlockStmt] { ... }
# 15| 0: [ExprStmt] <Expr>;
# 15| 0: [AssignExpr] ...=...
# 15| 0: [VarAccess] z
# 15| 1: [IntegerLiteral] 2