Files
codeql/java/ql/test/library-tests/JDK/PrintAst.expected
2021-01-04 23:37:58 -05:00

98 lines
3.5 KiB
Plaintext

jdk/A.java:
# 0| [CompilationUnit] A
# 3| 1: [Class] A
# 4| 2: [Method] main
# 4| 3: [TypeAccess] void
#-----| 4: (Parameters)
# 4| 0: [Parameter] args
# 4| 0: [ArrayTypeAccess] ...[]
# 4| 0: [TypeAccess] String
# 4| 5: [BlockStmt] stmt
# 7| 2: [Class] B
# 8| 2: [Method] main
# 8| 3: [TypeAccess] void
#-----| 4: (Parameters)
# 8| 0: [Parameter] args
# 8| 0: [ArrayTypeAccess] ...[]
# 8| 0: [TypeAccess] String
# 8| 5: [BlockStmt] stmt
# 11| 3: [Class] C
# 12| 2: [Method] main
# 12| 3: [TypeAccess] void
#-----| 4: (Parameters)
# 12| 0: [Parameter] args
# 12| 0: [ArrayTypeAccess] ...[]
# 12| 0: [TypeAccess] String
# 12| 5: [BlockStmt] stmt
# 15| 4: [Class] D
# 16| 2: [Method] main
# 16| 3: [TypeAccess] int
#-----| 4: (Parameters)
# 16| 0: [Parameter] args
# 16| 0: [ArrayTypeAccess] ...[]
# 16| 0: [TypeAccess] String
# 16| 5: [BlockStmt] stmt
# 16| 0: [ReturnStmt] stmt
# 16| 0: [IntegerLiteral] 0
# 19| 5: [Class] E
# 20| 2: [Method] main
# 20| 3: [TypeAccess] void
#-----| 4: (Parameters)
# 20| 0: [Parameter] argc
# 20| 0: [TypeAccess] int
# 20| 1: [Parameter] args
# 20| 0: [ArrayTypeAccess] ...[]
# 20| 0: [TypeAccess] String
# 20| 5: [BlockStmt] stmt
# 23| 6: [Class] F
# 24| 2: [Method] main
# 24| 3: [TypeAccess] void
#-----| 4: (Parameters)
# 24| 0: [Parameter] arg
# 24| 0: [TypeAccess] String
# 24| 5: [BlockStmt] stmt
# 27| 7: [Class] G
# 28| 2: [Method] main
# 28| 3: [TypeAccess] void
#-----| 4: (Parameters)
# 28| 0: [Parameter] args
# 28| 0: [ArrayTypeAccess] ...[]
# 28| 0: [ArrayTypeAccess] ...[]
# 28| 0: [TypeAccess] String
# 28| 5: [BlockStmt] stmt
jdk/SystemGetPropertyCall.java:
# 0| [CompilationUnit] SystemGetPropertyCall
# 3| 1: [Class] SystemGetPropertyCall
# 4| 3: [FieldDeclaration] String USER_DIR_PROPERTY, ...;
# 4| -1: [TypeAccess] String
# 4| 0: [StringLiteral] "user.dir"
# 6| 4: [Method] a
# 6| 3: [TypeAccess] void
# 6| 5: [BlockStmt] stmt
# 7| 0: [ExprStmt] stmt
# 7| 0: [MethodAccess] getProperty(...)
# 7| -1: [TypeAccess] System
# 7| 0: [StringLiteral] "user.dir"
# 10| 5: [Method] b
# 10| 3: [TypeAccess] void
# 10| 5: [BlockStmt] stmt
# 11| 0: [ExprStmt] stmt
# 11| 0: [MethodAccess] getProperty(...)
# 11| -1: [TypeAccess] System
# 11| 0: [StringLiteral] "user.dir"
# 11| 1: [StringLiteral] "HOME"
# 14| 6: [Method] c
# 14| 3: [TypeAccess] void
# 14| 5: [BlockStmt] stmt
# 15| 0: [ExprStmt] stmt
# 15| 0: [MethodAccess] getProperty(...)
# 15| -1: [TypeAccess] System
# 15| 0: [VarAccess] USER_DIR_PROPERTY
# 18| 7: [Method] d
# 18| 3: [TypeAccess] void
# 18| 5: [BlockStmt] stmt
# 19| 0: [ExprStmt] stmt
# 19| 0: [MethodAccess] getProperty(...)
# 19| -1: [TypeAccess] System
# 19| 0: [StringLiteral] "random.property"