mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user