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`.
This commit is contained in:
Aditya Sharad
2022-12-19 15:54:11 -08:00
parent ed29b3e4d6
commit bcd711a708

View File

@@ -4,6 +4,11 @@
* Note: Data is usually stored in a separate database and the QL libraries only contain predicates,
* but for this tutorial both the data and the predicates are stored in the library.
*/
/**
* A person known to the QL detective tutorials, represented by a string
* (their first name).
*/
class Person extends string {
Person() {
this =