├── .gitignore ├── LICENSE ├── README.md ├── bin └── getdocs.js ├── package.json ├── src ├── doccomments.js ├── index.js └── parsetype.js └── test ├── class_addmethod.js ├── class_addmethod.json ├── class_ctor.js ├── class_ctor.json ├── class_expr.js ├── class_expr.json ├── class_simple.js ├── class_simple.json ├── class_static.js ├── class_static.json ├── class_this.js ├── class_this.json ├── defaultarg.js ├── defaultarg.json ├── diffargname.js ├── diffargname.json ├── exported.js ├── exported.json ├── function.js ├── function.json ├── functionsub.js ├── functionsub.json ├── infer.js ├── infer.json ├── literal.js ├── literal.json ├── namedprop.js ├── namedprop.json ├── obj.js ├── obj.json ├── phantom.js ├── phantom.json ├── restarg.js ├── restarg.json ├── run.js ├── subcomment.js ├── subcomment.json ├── tags.js ├── tags.json ├── union.js └── union.json /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | .tern-* 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/README.md -------------------------------------------------------------------------------- /bin/getdocs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/bin/getdocs.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/package.json -------------------------------------------------------------------------------- /src/doccomments.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/src/doccomments.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/src/index.js -------------------------------------------------------------------------------- /src/parsetype.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/src/parsetype.js -------------------------------------------------------------------------------- /test/class_addmethod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/class_addmethod.js -------------------------------------------------------------------------------- /test/class_addmethod.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/class_addmethod.json -------------------------------------------------------------------------------- /test/class_ctor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/class_ctor.js -------------------------------------------------------------------------------- /test/class_ctor.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/class_ctor.json -------------------------------------------------------------------------------- /test/class_expr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/class_expr.js -------------------------------------------------------------------------------- /test/class_expr.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/class_expr.json -------------------------------------------------------------------------------- /test/class_simple.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/class_simple.js -------------------------------------------------------------------------------- /test/class_simple.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/class_simple.json -------------------------------------------------------------------------------- /test/class_static.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/class_static.js -------------------------------------------------------------------------------- /test/class_static.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/class_static.json -------------------------------------------------------------------------------- /test/class_this.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/class_this.js -------------------------------------------------------------------------------- /test/class_this.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/class_this.json -------------------------------------------------------------------------------- /test/defaultarg.js: -------------------------------------------------------------------------------- 1 | // :: (bool) 2 | function foo(arg = false) {} 3 | -------------------------------------------------------------------------------- /test/defaultarg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/defaultarg.json -------------------------------------------------------------------------------- /test/diffargname.js: -------------------------------------------------------------------------------- 1 | // :: (foo: number, bar: string) 2 | function x(a, b) {} 3 | -------------------------------------------------------------------------------- /test/diffargname.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/diffargname.json -------------------------------------------------------------------------------- /test/exported.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/exported.js -------------------------------------------------------------------------------- /test/exported.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/exported.json -------------------------------------------------------------------------------- /test/function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/function.js -------------------------------------------------------------------------------- /test/function.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/function.json -------------------------------------------------------------------------------- /test/functionsub.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/functionsub.js -------------------------------------------------------------------------------- /test/functionsub.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/functionsub.json -------------------------------------------------------------------------------- /test/infer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/infer.js -------------------------------------------------------------------------------- /test/infer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/infer.json -------------------------------------------------------------------------------- /test/literal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/literal.js -------------------------------------------------------------------------------- /test/literal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/literal.json -------------------------------------------------------------------------------- /test/namedprop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/namedprop.js -------------------------------------------------------------------------------- /test/namedprop.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/namedprop.json -------------------------------------------------------------------------------- /test/obj.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/obj.js -------------------------------------------------------------------------------- /test/obj.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/obj.json -------------------------------------------------------------------------------- /test/phantom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/phantom.js -------------------------------------------------------------------------------- /test/phantom.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/phantom.json -------------------------------------------------------------------------------- /test/restarg.js: -------------------------------------------------------------------------------- 1 | // :: ([string]) -> bool 2 | function bar(...stuff) {} 3 | -------------------------------------------------------------------------------- /test/restarg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/restarg.json -------------------------------------------------------------------------------- /test/run.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/run.js -------------------------------------------------------------------------------- /test/subcomment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/subcomment.js -------------------------------------------------------------------------------- /test/subcomment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/subcomment.json -------------------------------------------------------------------------------- /test/tags.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/tags.js -------------------------------------------------------------------------------- /test/tags.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/tags.json -------------------------------------------------------------------------------- /test/union.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/union.js -------------------------------------------------------------------------------- /test/union.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marijnh/getdocs/HEAD/test/union.json --------------------------------------------------------------------------------