Skip to content

Commit 6e507a5

Browse files
author
Paolo Tranquilli
committed
Swift: add summary about total extracted nodes
1 parent f38cc7c commit 6e507a5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* @name Number of extracted AST nodes
3+
* @description Count all AST nodes.
4+
* @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

Comments
 (0)