We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8757d2f + f06aa38 commit 022785aCopy full SHA for 022785a
2 files changed
swift/ql/src/change-notes/2025-03-18-number_of_nodes.md
@@ -0,0 +1,4 @@
1
+---
2
+category: newQuery
3
4
+* Added a new summary query counting the total number of extracted AST nodes.
swift/ql/src/diagnostics/internal/AstNodes.ql
@@ -0,0 +1,11 @@
+/**
+ * @name Number of extracted AST nodes
+ * @description Count all AST nodes.
+ * @kind metric
5
+ * @id swift/diagnostics/ast-nodes
6
+ * @tags summary
7
+ */
8
+
9
+import swift
10
11
+select count(AstNode n)
0 commit comments