1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.typeScriptTags = exports.closureTags = exports.jsdocTags = void 0;
|
7 |
|
8 | function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
9 |
|
10 | function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
11 |
|
12 | function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
13 |
|
14 | const jsdocTagsUndocumented = {
|
15 |
|
16 |
|
17 |
|
18 | modifies: []
|
19 | };
|
20 |
|
21 | const jsdocTags = _objectSpread({}, jsdocTagsUndocumented, {
|
22 | abstract: ['virtual'],
|
23 | access: [],
|
24 | alias: [],
|
25 | async: [],
|
26 | augments: ['extends'],
|
27 | author: [],
|
28 | borrows: [],
|
29 | callback: [],
|
30 | class: ['constructor'],
|
31 | classdesc: [],
|
32 | constant: ['const'],
|
33 | constructs: [],
|
34 | copyright: [],
|
35 | default: ['defaultvalue'],
|
36 | deprecated: [],
|
37 | description: ['desc'],
|
38 | enum: [],
|
39 | event: [],
|
40 | example: [],
|
41 | exports: [],
|
42 | external: ['host'],
|
43 | file: ['fileoverview', 'overview'],
|
44 | fires: ['emits'],
|
45 | function: ['func', 'method'],
|
46 | generator: [],
|
47 | global: [],
|
48 | hideconstructor: [],
|
49 | ignore: [],
|
50 | implements: [],
|
51 | inheritdoc: [],
|
52 | inner: [],
|
53 | instance: [],
|
54 | interface: [],
|
55 | kind: [],
|
56 | lends: [],
|
57 | license: [],
|
58 | listens: [],
|
59 | member: ['var'],
|
60 | memberof: [],
|
61 | 'memberof!': [],
|
62 | mixes: [],
|
63 | mixin: [],
|
64 | module: [],
|
65 | name: [],
|
66 | namespace: [],
|
67 | override: [],
|
68 | package: [],
|
69 | param: ['arg', 'argument'],
|
70 | private: [],
|
71 | property: ['prop'],
|
72 | protected: [],
|
73 | public: [],
|
74 | readonly: [],
|
75 | requires: [],
|
76 | returns: ['return'],
|
77 | see: [],
|
78 | since: [],
|
79 | static: [],
|
80 | summary: [],
|
81 | this: [],
|
82 | throws: ['exception'],
|
83 | todo: [],
|
84 | tutorial: [],
|
85 | type: [],
|
86 | typedef: [],
|
87 | variation: [],
|
88 | version: [],
|
89 | yields: ['yield']
|
90 | });
|
91 |
|
92 | exports.jsdocTags = jsdocTags;
|
93 |
|
94 | const typeScriptTags = _objectSpread({}, jsdocTags, {
|
95 |
|
96 |
|
97 | template: []
|
98 | });
|
99 |
|
100 | exports.typeScriptTags = typeScriptTags;
|
101 | const undocumentedClosureTags = {
|
102 |
|
103 |
|
104 | closurePrimitive: [],
|
105 | customElement: [],
|
106 | expose: [],
|
107 | hidden: [],
|
108 | idGenerator: [],
|
109 | meaning: [],
|
110 | mixinClass: [],
|
111 | mixinFunction: [],
|
112 | ngInject: [],
|
113 | owner: [],
|
114 | typeSummary: [],
|
115 | wizaction: []
|
116 | };
|
117 |
|
118 | const closureTags = _objectSpread({}, typeScriptTags, {}, undocumentedClosureTags, {
|
119 |
|
120 |
|
121 |
|
122 |
|
123 | define: [],
|
124 | dict: [],
|
125 | export: [],
|
126 | externs: [],
|
127 | final: [],
|
128 |
|
129 | implicitCast: [],
|
130 |
|
131 | inheritDoc: [],
|
132 | noalias: [],
|
133 | nocollapse: [],
|
134 | nocompile: [],
|
135 | noinline: [],
|
136 | nosideeffects: [],
|
137 | polymer: [],
|
138 | polymerBehavior: [],
|
139 | preserve: [],
|
140 |
|
141 | record: [],
|
142 | struct: [],
|
143 | suppress: [],
|
144 | unrestricted: []
|
145 | });
|
146 |
|
147 | exports.closureTags = closureTags;
|
148 |
|
\ | No newline at end of file |