-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathPrintAst.expected
More file actions
87 lines (87 loc) · 3.25 KB
/
PrintAst.expected
File metadata and controls
87 lines (87 loc) · 3.25 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
dependency/A.java:
# 0| [CompilationUnit] A
# 3| 1: [Class,GenericType,ParameterizedType] A
#-----| -2: (Generic Parameters)
# 3| 0: [TypeVariable] T
# 6| 2: [Class] B
# 9| 3: [Class] C
# 10| 2: [FieldDeclaration] A<B> b;
# 10| -1: [TypeAccess] A<B>
# 10| 0: [TypeAccess] B
# 11| 3: [FieldDeclaration] ...[] c;
# 11| -1: [ArrayTypeAccess] ...[]
# 11| 0: [TypeAccess] C
# 14| 4: [Class] D
#-----| -1: (Base Types)
# 14| -1: [TypeAccess] A<B>
# 14| 0: [TypeAccess] B
# 15| 2: [Class] E
# 16| 2: [Method] m
# 16| 3: [TypeAccess] C
#-----| 4: (Parameters)
# 16| 0: [Parameter] f
# 16| 0: [TypeAccess] A<F>
# 16| 0: [TypeAccess] F
# 16| 5: [BlockStmt] { ... }
# 17| 0: [ReturnStmt] return ...
# 17| 0: [NullLiteral] null
# 22| 5: [Class] F
# 24| 6: [Class] G
#-----| -1: (Base Types)
# 24| -1: [TypeAccess] Throwable
# 26| 7: [Class] H
# 27| 2: [Method] test
#-----| 2: (Generic Parameters)
# 27| 0: [TypeVariable] T
# 27| 0: [TypeAccess] String
# 27| 3: [TypeAccess] T
#-----| 4: (Parameters)
# 27| 0: [Parameter] t
# 27| 0: [TypeAccess] T
# 27| 5: [BlockStmt] { ... }
# 27| 0: [ReturnStmt] return ...
# 27| 0: [VarAccess] t
# 28| 3: [Method] test2
# 28| 3: [TypeAccess] void
#-----| 4: (Parameters)
# 28| 0: [Parameter] t
# 28| 0: [TypeAccess] Collection<? extends Number>
# 28| 0: [WildcardTypeAccess] ? ...
# 28| 0: [TypeAccess] Number
# 28| 5: [BlockStmt] { ... }
# 29| 4: [Method] test3
# 29| 3: [TypeAccess] void
#-----| 4: (Parameters)
# 29| 0: [Parameter] o
# 29| 0: [TypeAccess] Object
# 29| 5: [BlockStmt] { ... }
# 30| 0: [IfStmt] if (...)
# 30| 0: [InstanceOfExpr] ...instanceof...
# 30| 0: [VarAccess] o
# 30| 1: [TypeAccess] Used1
# 30| 1: [ReturnStmt] return ...
# 31| 1: [SwitchStmt] switch (...)
# 31| -1: [VarAccess] o
# 32| 0: [PatternCase] case <Pattern>
#-----| 0: (Pattern case declaration)
# 32| 0: [TypeAccess] Used2
# 32| 1: [LocalVariableDeclExpr] u2
# 32| 1: [BreakStmt] break
# 33| 2: [DefaultCase] default
# 33| 3: [BreakStmt] break
# 35| 2: [LocalVariableDeclStmt] var ...;
# 35| 1: [LocalVariableDeclExpr] x
# 35| 0: [SwitchExpr] switch (...)
# 35| -1: [VarAccess] o
# 36| 0: [PatternCase] case <Pattern>
#-----| 0: (Pattern case declaration)
# 36| 0: [TypeAccess] Used3
# 36| 1: [LocalVariableDeclExpr] u3
# 36| 1: [YieldStmt] yield ...
# 36| 0: [IntegerLiteral] 1
# 37| 2: [DefaultCase] default
# 37| 3: [YieldStmt] yield ...
# 37| 0: [IntegerLiteral] 2
# 41| 5: [Class] Used1
# 42| 6: [Class] Used2
# 43| 7: [Class] Used3