mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
90 lines
3.4 KiB
Plaintext
90 lines
3.4 KiB
Plaintext
A.java:
|
|
# 0| [CompilationUnit] A
|
|
# 8| 1: [Class] A
|
|
#-----| -4: (Javadoc)
|
|
# 1| 1: [Javadoc] /** Another javadoc */
|
|
# 1| 0: [JavadocText] Another javadoc
|
|
# 3| 2: [Javadoc] /** A class ... */
|
|
# 4| 0: [JavadocText] A class
|
|
# 6| 1: [JavadocTag] @author
|
|
# 6| 0: [JavadocText] someone
|
|
# 9| 3: [Interface] Ann1
|
|
# 10| 1: [Method] value
|
|
# 10| 3: [TypeAccess] String
|
|
# 11| 2: [Method] nest
|
|
# 11| 3: [ArrayTypeAccess] ...[]
|
|
# 11| 0: [TypeAccess] Ann2
|
|
# 14| 4: [Interface] Ann2
|
|
# 15| 1: [Method] value
|
|
# 15| 3: [TypeAccess] int
|
|
# 20| 5: [Method] doSomething
|
|
#-----| 0: (Javadoc)
|
|
# 18| 1: [Javadoc] /** Does something */
|
|
# 18| 0: [JavadocText] Does something
|
|
#-----| 1: (Annotations)
|
|
# 19| 1: [Annotation] Deprecated
|
|
# 20| 3: [TypeAccess] int
|
|
#-----| 4: (Parameters)
|
|
# 20| 0: [Parameter] text
|
|
#-----| -1: (Annotations)
|
|
# 20| 1: [Annotation] SuppressWarnings
|
|
# 20| 1: [StringLiteral] "all"
|
|
# 20| 0: [TypeAccess] String
|
|
# 20| 5: [BlockStmt] stmt
|
|
# 21| 0: [LocalVariableDeclStmt] stmt
|
|
# 21| 0: [TypeAccess] int
|
|
# 21| 1: [LocalVariableDeclExpr] i
|
|
# 21| 0: [IntegerLiteral] 0
|
|
# 21| 2: [LocalVariableDeclExpr] j
|
|
# 21| 0: [IntegerLiteral] 1
|
|
# 23| 1: [ForStmt] stmt
|
|
#-----| 0: (For Initializers)
|
|
# 23| 1: [AssignExpr] ...=...
|
|
# 23| 0: [VarAccess] i
|
|
# 23| 1: [IntegerLiteral] 0
|
|
# 23| 2: [AssignExpr] ...=...
|
|
# 23| 0: [VarAccess] j
|
|
# 23| 1: [IntegerLiteral] 1
|
|
# 23| 1: [LTExpr] ... < ...
|
|
# 23| 0: [VarAccess] i
|
|
# 23| 1: [IntegerLiteral] 3
|
|
# 23| 2: [BlockStmt] stmt
|
|
# 23| 3: [PostIncExpr] ...++
|
|
# 23| 0: [VarAccess] i
|
|
# 25| 2: [ForStmt] stmt
|
|
#-----| 0: (For Initializers)
|
|
# 25| 0: [TypeAccess] int
|
|
# 25| 1: [LocalVariableDeclExpr] m
|
|
# 25| 0: [IntegerLiteral] 0
|
|
# 25| 2: [LocalVariableDeclExpr] n
|
|
# 25| 0: [IntegerLiteral] 1
|
|
# 25| 1: [LTExpr] ... < ...
|
|
# 25| 0: [VarAccess] m
|
|
# 25| 1: [IntegerLiteral] 3
|
|
# 25| 2: [BlockStmt] stmt
|
|
# 25| 3: [PostIncExpr] ...++
|
|
# 25| 0: [VarAccess] m
|
|
# 27| 3: [ReturnStmt] stmt
|
|
# 27| 0: [IntegerLiteral] 0
|
|
# 30| 6: [FieldDeclaration] int counter, ...;
|
|
# 30| -1: [TypeAccess] int
|
|
# 30| 0: [IntegerLiteral] 1
|
|
# 32| 7: [BlockStmt] stmt
|
|
# 33| 0: [ExprStmt] stmt
|
|
# 33| 0: [AssignExpr] ...=...
|
|
# 33| 0: [VarAccess] counter
|
|
# 33| 1: [MethodAccess] doSomething(...)
|
|
# 33| 0: [StringLiteral] "hi"
|
|
# 42| 8: [Method] doSomethingElse
|
|
#-----| 1: (Annotations)
|
|
# 36| 1: [Annotation] Ann1
|
|
# 37| 1: [StringLiteral] "a"
|
|
# 38| 2: [ArrayInit] {...}
|
|
# 39| 1: [Annotation] Ann2
|
|
# 40| 2: [Annotation] Ann2
|
|
# 40| 1: [IntegerLiteral] 7
|
|
# 42| 3: [TypeAccess] String
|
|
# 42| 5: [BlockStmt] stmt
|
|
# 42| 0: [ReturnStmt] stmt
|
|
# 42| 0: [StringLiteral] "c"
|