deno_doc 0.198.0

doc generation for deno
Documentation
# mod.ts
export class Class {
  async amethod(v) {}
}

# diagnostics
error[missing-jsdoc]: exported symbol is missing JSDoc documentation
 --> /mod.ts:1:1
  | 
1 | export class Class {
  | ^


error[missing-jsdoc]: exported symbol is missing JSDoc documentation
 --> /mod.ts:2:3
  | 
2 |   async amethod(v) {}
  |   ^

# output.txt
Defined in file:///mod.ts:0:1

class Class

  async amethod(v): Promise<void>


# output.json
{
  "symbols": [
    {
      "name": "Class",
      "declarations": [
        {
          "location": {
            "filename": "file:///mod.ts",
            "line": 0,
            "col": 0,
            "byteIndex": 0
          },
          "declarationKind": "export",
          "kind": "class",
          "def": {
            "methods": [
              {
                "name": "amethod",
                "kind": "method",
                "functionDef": {
                  "params": [
                    {
                      "kind": "identifier",
                      "name": "v",
                      "optional": false
                    }
                  ],
                  "returnType": {
                    "repr": "Promise",
                    "kind": "typeRef",
                    "value": {
                      "typeParams": [
                        {
                          "repr": "void",
                          "kind": "keyword",
                          "value": "void"
                        }
                      ],
                      "typeName": "Promise"
                    }
                  },
                  "hasBody": true,
                  "isAsync": true
                },
                "location": {
                  "filename": "file:///mod.ts",
                  "line": 1,
                  "col": 2,
                  "byteIndex": 23
                }
              }
            ]
          }
        }
      ]
    }
  ]
}