mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
Java: PrintAst: Add synthetic nodes for other declarations
This commit is contained in:
@@ -21,10 +21,11 @@ MultiCatch.java:
|
||||
# 14| 0: [ClassInstanceExpr] new SQLException(...)
|
||||
# 14| -3: [TypeAccess] SQLException
|
||||
# 15| 0: [CatchClause] stmt
|
||||
# 15| -1: [UnionTypeAccess] ...|...
|
||||
# 15| 0: [TypeAccess] IOException
|
||||
# 15| 1: [TypeAccess] SQLException
|
||||
# 15| 0: [LocalVariableDeclExpr] e
|
||||
#-----| 0: (Local Variable Declaration)
|
||||
# 15| 0: [UnionTypeAccess] ...|...
|
||||
# 15| 0: [TypeAccess] IOException
|
||||
# 15| 1: [TypeAccess] SQLException
|
||||
# 15| 1: [LocalVariableDeclExpr] e
|
||||
# 16| 1: [BlockStmt] stmt
|
||||
# 17| 0: [ExprStmt] stmt
|
||||
# 17| 0: [MethodAccess] printStackTrace(...)
|
||||
@@ -55,10 +56,11 @@ MultiCatch.java:
|
||||
# 30| 0: [ClassInstanceExpr] new Exception(...)
|
||||
# 30| -3: [TypeAccess] Exception
|
||||
# 31| 0: [CatchClause] stmt
|
||||
# 31| -1: [UnionTypeAccess] ...|...
|
||||
# 31| 0: [TypeAccess] IOException
|
||||
# 31| 1: [TypeAccess] SQLException
|
||||
# 31| 0: [LocalVariableDeclExpr] e
|
||||
#-----| 0: (Local Variable Declaration)
|
||||
# 31| 0: [UnionTypeAccess] ...|...
|
||||
# 31| 0: [TypeAccess] IOException
|
||||
# 31| 1: [TypeAccess] SQLException
|
||||
# 31| 1: [LocalVariableDeclExpr] e
|
||||
# 32| 1: [BlockStmt] stmt
|
||||
# 35| 4: [Method] ordinaryCatch
|
||||
# 35| 3: [TypeAccess] void
|
||||
@@ -69,6 +71,7 @@ MultiCatch.java:
|
||||
# 39| 0: [ClassInstanceExpr] new IOException(...)
|
||||
# 39| -3: [TypeAccess] IOException
|
||||
# 40| 0: [CatchClause] stmt
|
||||
# 40| -1: [TypeAccess] Exception
|
||||
# 40| 0: [LocalVariableDeclExpr] e
|
||||
#-----| 0: (Local Variable Declaration)
|
||||
# 40| 0: [TypeAccess] Exception
|
||||
# 40| 1: [LocalVariableDeclExpr] e
|
||||
# 41| 1: [BlockStmt] stmt
|
||||
|
||||
Reference in New Issue
Block a user