Skip to content

Commit bcd711a

Browse files
committed
Tutorial: Add separate QLDoc for Person class
By moving the existing doc comment to the top level, that comment is shown when a user hovers over the module name in `import tutorial`.
1 parent ed29b3e commit bcd711a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

shared/tutorial/tutorial.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
* Note: Data is usually stored in a separate database and the QL libraries only contain predicates,
55
* but for this tutorial both the data and the predicates are stored in the library.
66
*/
7+
8+
/**
9+
* A person known to the QL detective tutorials, represented by a string
10+
* (their first name).
11+
*/
712
class Person extends string {
813
Person() {
914
this =

0 commit comments

Comments
 (0)