From af0878ae82bf0d048fad91103d51db3130df39e9 Mon Sep 17 00:00:00 2001 From: oxisto Date: Thu, 26 Sep 2024 12:38:44 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Fraunhof?= =?UTF-8?q?er-AISEC/cpg@81a82ac55a954bbed94d4aba8480725f61420840=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../-try-statement/catch-clause-edges.html | 2 +- .../-try-statement/else-block-edge.html | 81 +++++++++++++++++++ .../-try-statement/else-block.html | 81 +++++++++++++++++++ .../-try-statement/finally-block-edge.html | 2 +- .../-try-statement/index.html | 38 ++++++++- .../-try-statement/resource-edges.html | 2 +- .../-try-statement/try-block-edge.html | 2 +- .../-a-s-t/-try/{stmt.html => finalbody.html} | 14 ++-- .../-python/-a-s-t/-try/index.html | 30 +++---- dokka/main/scripts/pages.json | 2 +- 10 files changed, 223 insertions(+), 31 deletions(-) create mode 100644 dokka/main/cpg-core/de.fraunhofer.aisec.cpg.graph.statements/-try-statement/else-block-edge.html create mode 100644 dokka/main/cpg-core/de.fraunhofer.aisec.cpg.graph.statements/-try-statement/else-block.html rename dokka/main/cpg-language-python/de.fraunhofer.aisec.cpg.frontends.python/-python/-a-s-t/-try/{stmt.html => finalbody.html} (86%) diff --git a/dokka/main/cpg-core/de.fraunhofer.aisec.cpg.graph.statements/-try-statement/catch-clause-edges.html b/dokka/main/cpg-core/de.fraunhofer.aisec.cpg.graph.statements/-try-statement/catch-clause-edges.html index 87d99866f7..ac6fb1eddf 100644 --- a/dokka/main/cpg-core/de.fraunhofer.aisec.cpg.graph.statements/-try-statement/catch-clause-edges.html +++ b/dokka/main/cpg-core/de.fraunhofer.aisec.cpg.graph.statements/-try-statement/catch-clause-edges.html @@ -68,7 +68,7 @@

catchClauseEdges

-
+

This represents a set of blocks whose statements handle the exceptions which are thrown in the tryBlock. There can be multiple catch clauses, but it is also possible that none exists.

- +

This represents a set of blocks whose statements handle the exceptions which are thrown in the tryBlock. There can be multiple catch clauses, but it is also possible that none exists.

@@ -408,6 +408,36 @@

Properties

+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

This represents a block whose statements are only executed if the tryBlock finished without exceptions. Note that any exception thrown in this block is no longer caught by the catchClauses.

+
+
+
+
@@ -463,7 +493,7 @@

Properties

- +

This represents a block of statements which is always executed after finishing the tryBlock or one of the catchClauses. Note that any exception thrown in this block is no longer caught by the catchClauses.

@@ -1108,7 +1138,7 @@

Properties

- +

This represents some kind of resource which is typically opened (or similar) while entering the tryBlock. If this operation fails, we may continue with the finallyBlock. However, there is no exception raised but if an exception occurs while opening the resource, we won't enter the tryBlock.

@@ -1213,7 +1243,7 @@

Properties

- +

This represents a block whose statements can throw exceptions which are handled by the catchClauses.

diff --git a/dokka/main/cpg-core/de.fraunhofer.aisec.cpg.graph.statements/-try-statement/resource-edges.html b/dokka/main/cpg-core/de.fraunhofer.aisec.cpg.graph.statements/-try-statement/resource-edges.html index f370c99c40..9da2f95199 100644 --- a/dokka/main/cpg-core/de.fraunhofer.aisec.cpg.graph.statements/-try-statement/resource-edges.html +++ b/dokka/main/cpg-core/de.fraunhofer.aisec.cpg.graph.statements/-try-statement/resource-edges.html @@ -68,7 +68,7 @@

resourceEdges

-
+

This represents some kind of resource which is typically opened (or similar) while entering the tryBlock. If this operation fails, we may continue with the finallyBlock. However, there is no exception raised but if an exception occurs while opening the resource, we won't enter the tryBlock.