conga-annotations:用于node.js的注释解析器库

时间:2024-05-24 16:09:02
【文件属性】:

文件名称:conga-annotations:用于node.js的注释解析器库

文件大小:33KB

文件格式:ZIP

更新时间:2024-05-24 16:09:02

JavaScript

刚果注解 概述 这是一个Node.js库,您可以在其中添加注释,以描述有关javascript文件中的类,构造函数,方法和属性的metdata数据。 ES6示例: /** * @MyClassAnnotation("hello world") */ class HelloWorld { constructor() { /** * @MyPropertyAnnotation(foo=[1,2,3,4], bar={"hello":"there"}) */ this.myProperty = 'foo' } /** * @MyMethodAnnotation("foobar", something="hello") */ myMethod() { } }


【文件预览】:
conga-annotations-master
----.gitignore(70B)
----.codeclimate.yml(301B)
----package.json(943B)
----.travis.yml(36B)
----changelog.md(162B)
----LICENSE(1KB)
----index.js(231B)
----README.md(5KB)
----example()
--------.eslintrc.json(31B)
--------main.js(1KB)
--------data()
--------annotations()
----lib()
--------registry.js(827B)
--------attribute-parser.js(5KB)
--------utils.js(424B)
--------parseres5.js(4KB)
--------parseres6.js(4KB)
--------metadata.js(3KB)
--------annotation.js(3KB)
--------reader.js(7KB)
----.npmignore(13B)
----test()
--------.eslintrc.json(31B)
--------readerMethodsOnly.js(2KB)
--------registry.js(684B)
--------data()
--------readerES6-crlf.js(6KB)
--------attribute-parser.js(1KB)
--------parser.js(2KB)
--------reader-crlf.js(5KB)
--------readerES6.js(6KB)
--------reader.js(5KB)
--------annotations()
----.editorconfig(171B)

网友评论