mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Expand documentation of hidden nodes
This commit is contained in:
@@ -618,12 +618,21 @@ impact on performance for large databases.
|
||||
|
||||
### Hidden nodes
|
||||
|
||||
Certain synthetic nodes can be hidden to exclude them from occurring in path
|
||||
explanations. This is done through the following predicate:
|
||||
Certain synthetic nodes are hidden by default to prevent them from occurring in
|
||||
path explanations. Which nodes are included in this is determined by the
|
||||
following predicate:
|
||||
|
||||
```ql
|
||||
predicate nodeIsHidden(Node n)
|
||||
```
|
||||
|
||||
To include these nodes in path explanations, add the following to a
|
||||
configuration:
|
||||
|
||||
```ql
|
||||
predicate includeHiddenNodes() { any() }
|
||||
```
|
||||
|
||||
### Unreachable nodes
|
||||
|
||||
Consider:
|
||||
|
||||
Reference in New Issue
Block a user