init
This commit is contained in:
44
node_modules/@microsoft/tsdoc/lib/details/ModifierTagSet.d.ts
generated
vendored
Normal file
44
node_modules/@microsoft/tsdoc/lib/details/ModifierTagSet.d.ts
generated
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
import { DocBlockTag } from '../nodes/DocBlockTag';
|
||||
import { TSDocTagDefinition } from '../configuration/TSDocTagDefinition';
|
||||
/**
|
||||
* Represents a set of modifier tags that were extracted from a doc comment.
|
||||
*
|
||||
* @remarks
|
||||
* TSDoc modifier tags are block tags that do not have any associated rich text content.
|
||||
* Instead, their presence or absence acts as an on/off switch, indicating some aspect
|
||||
* of the underlying API item. For example, the `@internal` modifier indicates that a
|
||||
* signature is internal (i.e. not part of the public API contract).
|
||||
*/
|
||||
export declare class ModifierTagSet {
|
||||
private readonly _nodes;
|
||||
private readonly _nodesByName;
|
||||
/**
|
||||
* The original block tag nodes that defined the modifiers in this set, excluding duplicates.
|
||||
*/
|
||||
get nodes(): ReadonlyArray<DocBlockTag>;
|
||||
/**
|
||||
* Returns true if the set contains a DocBlockTag with the specified tag name.
|
||||
* Note that synonyms are not considered. The comparison is case-insensitive.
|
||||
* @param modifierTagName - The name of the tag, including the `@` prefix For example, `@internal`
|
||||
*/
|
||||
hasTagName(modifierTagName: string): boolean;
|
||||
/**
|
||||
* Returns true if the set contains a DocBlockTag matching the specified tag definition.
|
||||
* Note that synonyms are not considered. The comparison is case-insensitive.
|
||||
* The TSDocTagDefinition must be a modifier tag.
|
||||
* @param tagName - The name of the tag, including the `@` prefix For example, `@internal`
|
||||
*/
|
||||
hasTag(modifierTagDefinition: TSDocTagDefinition): boolean;
|
||||
/**
|
||||
* Returns a DocBlockTag matching the specified tag definition, or undefined if no such
|
||||
* tag was added to the set. If there were multiple instances, returned object will be
|
||||
* the first one to be added.
|
||||
*/
|
||||
tryGetTag(modifierTagDefinition: TSDocTagDefinition): DocBlockTag | undefined;
|
||||
/**
|
||||
* Adds a new modifier tag to the set. If a tag already exists with the same name,
|
||||
* then no change is made, and the return value is false.
|
||||
*/
|
||||
addTag(blockTag: DocBlockTag): boolean;
|
||||
}
|
||||
//# sourceMappingURL=ModifierTagSet.d.ts.map
|
1
node_modules/@microsoft/tsdoc/lib/details/ModifierTagSet.d.ts.map
generated
vendored
Normal file
1
node_modules/@microsoft/tsdoc/lib/details/ModifierTagSet.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"ModifierTagSet.d.ts","sourceRoot":"","sources":["../../src/details/ModifierTagSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAsB,MAAM,qCAAqC,CAAC;AAE7F;;;;;;;;GAQG;AACH,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAK5C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA4D;IAEzF;;OAEG;IACH,IAAW,KAAK,IAAI,aAAa,CAAC,WAAW,CAAC,CAE7C;IAED;;;;OAIG;IACI,UAAU,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO;IAInD;;;;;OAKG;IACI,MAAM,CAAC,qBAAqB,EAAE,kBAAkB,GAAG,OAAO;IAIjE;;;;OAIG;IACI,SAAS,CAAC,qBAAqB,EAAE,kBAAkB,GAAG,WAAW,GAAG,SAAS;IAOpF;;;OAGG;IACI,MAAM,CAAC,QAAQ,EAAE,WAAW,GAAG,OAAO;CAU9C"}
|
72
node_modules/@microsoft/tsdoc/lib/details/ModifierTagSet.js
generated
vendored
Normal file
72
node_modules/@microsoft/tsdoc/lib/details/ModifierTagSet.js
generated
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
import { TSDocTagSyntaxKind } from '../configuration/TSDocTagDefinition';
|
||||
/**
|
||||
* Represents a set of modifier tags that were extracted from a doc comment.
|
||||
*
|
||||
* @remarks
|
||||
* TSDoc modifier tags are block tags that do not have any associated rich text content.
|
||||
* Instead, their presence or absence acts as an on/off switch, indicating some aspect
|
||||
* of the underlying API item. For example, the `@internal` modifier indicates that a
|
||||
* signature is internal (i.e. not part of the public API contract).
|
||||
*/
|
||||
var ModifierTagSet = /** @class */ (function () {
|
||||
function ModifierTagSet() {
|
||||
this._nodes = [];
|
||||
// NOTE: To implement case insensitivity, the keys in this set are always upper-case.
|
||||
// This convention makes the normalization more obvious (and as a general practice handles
|
||||
// the Turkish "i" character correctly).
|
||||
this._nodesByName = new Map();
|
||||
}
|
||||
Object.defineProperty(ModifierTagSet.prototype, "nodes", {
|
||||
/**
|
||||
* The original block tag nodes that defined the modifiers in this set, excluding duplicates.
|
||||
*/
|
||||
get: function () {
|
||||
return this._nodes;
|
||||
},
|
||||
enumerable: false,
|
||||
configurable: true
|
||||
});
|
||||
/**
|
||||
* Returns true if the set contains a DocBlockTag with the specified tag name.
|
||||
* Note that synonyms are not considered. The comparison is case-insensitive.
|
||||
* @param modifierTagName - The name of the tag, including the `@` prefix For example, `@internal`
|
||||
*/
|
||||
ModifierTagSet.prototype.hasTagName = function (modifierTagName) {
|
||||
return this._nodesByName.has(modifierTagName.toUpperCase());
|
||||
};
|
||||
/**
|
||||
* Returns true if the set contains a DocBlockTag matching the specified tag definition.
|
||||
* Note that synonyms are not considered. The comparison is case-insensitive.
|
||||
* The TSDocTagDefinition must be a modifier tag.
|
||||
* @param tagName - The name of the tag, including the `@` prefix For example, `@internal`
|
||||
*/
|
||||
ModifierTagSet.prototype.hasTag = function (modifierTagDefinition) {
|
||||
return !!this.tryGetTag(modifierTagDefinition);
|
||||
};
|
||||
/**
|
||||
* Returns a DocBlockTag matching the specified tag definition, or undefined if no such
|
||||
* tag was added to the set. If there were multiple instances, returned object will be
|
||||
* the first one to be added.
|
||||
*/
|
||||
ModifierTagSet.prototype.tryGetTag = function (modifierTagDefinition) {
|
||||
if (modifierTagDefinition.syntaxKind !== TSDocTagSyntaxKind.ModifierTag) {
|
||||
throw new Error('The tag definition is not a modifier tag');
|
||||
}
|
||||
return this._nodesByName.get(modifierTagDefinition.tagNameWithUpperCase);
|
||||
};
|
||||
/**
|
||||
* Adds a new modifier tag to the set. If a tag already exists with the same name,
|
||||
* then no change is made, and the return value is false.
|
||||
*/
|
||||
ModifierTagSet.prototype.addTag = function (blockTag) {
|
||||
if (this._nodesByName.has(blockTag.tagNameWithUpperCase)) {
|
||||
return false;
|
||||
}
|
||||
this._nodesByName.set(blockTag.tagNameWithUpperCase, blockTag);
|
||||
this._nodes.push(blockTag);
|
||||
return true;
|
||||
};
|
||||
return ModifierTagSet;
|
||||
}());
|
||||
export { ModifierTagSet };
|
||||
//# sourceMappingURL=ModifierTagSet.js.map
|
1
node_modules/@microsoft/tsdoc/lib/details/ModifierTagSet.js.map
generated
vendored
Normal file
1
node_modules/@microsoft/tsdoc/lib/details/ModifierTagSet.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"ModifierTagSet.js","sourceRoot":"","sources":["../../src/details/ModifierTagSet.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAE7F;;;;;;;;GAQG;AACH;IAAA;QACmB,WAAM,GAAkB,EAAE,CAAC;QAE5C,qFAAqF;QACrF,0FAA0F;QAC1F,wCAAwC;QACvB,iBAAY,GAA6B,IAAI,GAAG,EAAuB,CAAC;IAsD3F,CAAC;IAjDC,sBAAW,iCAAK;QAHhB;;WAEG;aACH;YACE,OAAO,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;;;OAAA;IAED;;;;OAIG;IACI,mCAAU,GAAjB,UAAkB,eAAuB;QACvC,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;OAKG;IACI,+BAAM,GAAb,UAAc,qBAAyC;QACrD,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,qBAAqB,CAAC,CAAC;IACjD,CAAC;IAED;;;;OAIG;IACI,kCAAS,GAAhB,UAAiB,qBAAyC;QACxD,IAAI,qBAAqB,CAAC,UAAU,KAAK,kBAAkB,CAAC,WAAW,EAAE;YACvE,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;SAC7D;QACD,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,CAAC;IAC3E,CAAC;IAED;;;OAGG;IACI,+BAAM,GAAb,UAAc,QAAqB;QACjC,IAAI,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,oBAAoB,CAAC,EAAE;YACxD,OAAO,KAAK,CAAC;SACd;QAED,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,oBAAoB,EAAE,QAAQ,CAAC,CAAC;QAC/D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAE3B,OAAO,IAAI,CAAC;IACd,CAAC;IACH,qBAAC;AAAD,CAAC,AA5DD,IA4DC","sourcesContent":["import { DocBlockTag } from '../nodes/DocBlockTag';\r\nimport { TSDocTagDefinition, TSDocTagSyntaxKind } from '../configuration/TSDocTagDefinition';\r\n\r\n/**\r\n * Represents a set of modifier tags that were extracted from a doc comment.\r\n *\r\n * @remarks\r\n * TSDoc modifier tags are block tags that do not have any associated rich text content.\r\n * Instead, their presence or absence acts as an on/off switch, indicating some aspect\r\n * of the underlying API item. For example, the `@internal` modifier indicates that a\r\n * signature is internal (i.e. not part of the public API contract).\r\n */\r\nexport class ModifierTagSet {\r\n private readonly _nodes: DocBlockTag[] = [];\r\n\r\n // NOTE: To implement case insensitivity, the keys in this set are always upper-case.\r\n // This convention makes the normalization more obvious (and as a general practice handles\r\n // the Turkish \"i\" character correctly).\r\n private readonly _nodesByName: Map<string, DocBlockTag> = new Map<string, DocBlockTag>();\r\n\r\n /**\r\n * The original block tag nodes that defined the modifiers in this set, excluding duplicates.\r\n */\r\n public get nodes(): ReadonlyArray<DocBlockTag> {\r\n return this._nodes;\r\n }\r\n\r\n /**\r\n * Returns true if the set contains a DocBlockTag with the specified tag name.\r\n * Note that synonyms are not considered. The comparison is case-insensitive.\r\n * @param modifierTagName - The name of the tag, including the `@` prefix For example, `@internal`\r\n */\r\n public hasTagName(modifierTagName: string): boolean {\r\n return this._nodesByName.has(modifierTagName.toUpperCase());\r\n }\r\n\r\n /**\r\n * Returns true if the set contains a DocBlockTag matching the specified tag definition.\r\n * Note that synonyms are not considered. The comparison is case-insensitive.\r\n * The TSDocTagDefinition must be a modifier tag.\r\n * @param tagName - The name of the tag, including the `@` prefix For example, `@internal`\r\n */\r\n public hasTag(modifierTagDefinition: TSDocTagDefinition): boolean {\r\n return !!this.tryGetTag(modifierTagDefinition);\r\n }\r\n\r\n /**\r\n * Returns a DocBlockTag matching the specified tag definition, or undefined if no such\r\n * tag was added to the set. If there were multiple instances, returned object will be\r\n * the first one to be added.\r\n */\r\n public tryGetTag(modifierTagDefinition: TSDocTagDefinition): DocBlockTag | undefined {\r\n if (modifierTagDefinition.syntaxKind !== TSDocTagSyntaxKind.ModifierTag) {\r\n throw new Error('The tag definition is not a modifier tag');\r\n }\r\n return this._nodesByName.get(modifierTagDefinition.tagNameWithUpperCase);\r\n }\r\n\r\n /**\r\n * Adds a new modifier tag to the set. If a tag already exists with the same name,\r\n * then no change is made, and the return value is false.\r\n */\r\n public addTag(blockTag: DocBlockTag): boolean {\r\n if (this._nodesByName.has(blockTag.tagNameWithUpperCase)) {\r\n return false;\r\n }\r\n\r\n this._nodesByName.set(blockTag.tagNameWithUpperCase, blockTag);\r\n this._nodes.push(blockTag);\r\n\r\n return true;\r\n }\r\n}\r\n"]}
|
52
node_modules/@microsoft/tsdoc/lib/details/StandardModifierTagSet.d.ts
generated
vendored
Normal file
52
node_modules/@microsoft/tsdoc/lib/details/StandardModifierTagSet.d.ts
generated
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
import { ModifierTagSet } from './ModifierTagSet';
|
||||
/**
|
||||
* Extends the ModifierTagSet base class with getters for modifiers that
|
||||
* are part of the standardized core tags for TSDoc.
|
||||
*/
|
||||
export declare class StandardModifierTagSet extends ModifierTagSet {
|
||||
/**
|
||||
* Returns true if the `@alpha` modifier tag was specified.
|
||||
*/
|
||||
isAlpha(): boolean;
|
||||
/**
|
||||
* Returns true if the `@beta` modifier tag was specified.
|
||||
*/
|
||||
isBeta(): boolean;
|
||||
/**
|
||||
* Returns true if the `@eventProperty` modifier tag was specified.
|
||||
*/
|
||||
isEventProperty(): boolean;
|
||||
/**
|
||||
* Returns true if the `@experimental` modifier tag was specified.
|
||||
*/
|
||||
isExperimental(): boolean;
|
||||
/**
|
||||
* Returns true if the `@internal` modifier tag was specified.
|
||||
*/
|
||||
isInternal(): boolean;
|
||||
/**
|
||||
* Returns true if the `@override` modifier tag was specified.
|
||||
*/
|
||||
isOverride(): boolean;
|
||||
/**
|
||||
* Returns true if the `@packageDocumentation` modifier tag was specified.
|
||||
*/
|
||||
isPackageDocumentation(): boolean;
|
||||
/**
|
||||
* Returns true if the `@public` modifier tag was specified.
|
||||
*/
|
||||
isPublic(): boolean;
|
||||
/**
|
||||
* Returns true if the `@readonly` modifier tag was specified.
|
||||
*/
|
||||
isReadonly(): boolean;
|
||||
/**
|
||||
* Returns true if the `@sealed` modifier tag was specified.
|
||||
*/
|
||||
isSealed(): boolean;
|
||||
/**
|
||||
* Returns true if the `@virtual` modifier tag was specified.
|
||||
*/
|
||||
isVirtual(): boolean;
|
||||
}
|
||||
//# sourceMappingURL=StandardModifierTagSet.d.ts.map
|
1
node_modules/@microsoft/tsdoc/lib/details/StandardModifierTagSet.d.ts.map
generated
vendored
Normal file
1
node_modules/@microsoft/tsdoc/lib/details/StandardModifierTagSet.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"StandardModifierTagSet.d.ts","sourceRoot":"","sources":["../../src/details/StandardModifierTagSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;;GAGG;AACH,qBAAa,sBAAuB,SAAQ,cAAc;IACxD;;OAEG;IACI,OAAO,IAAI,OAAO;IAIzB;;OAEG;IACI,MAAM,IAAI,OAAO;IAIxB;;OAEG;IACI,eAAe,IAAI,OAAO;IAIjC;;OAEG;IACI,cAAc,IAAI,OAAO;IAIhC;;OAEG;IACI,UAAU,IAAI,OAAO;IAI5B;;OAEG;IACI,UAAU,IAAI,OAAO;IAI5B;;OAEG;IACI,sBAAsB,IAAI,OAAO;IAIxC;;OAEG;IACI,QAAQ,IAAI,OAAO;IAI1B;;OAEG;IACI,UAAU,IAAI,OAAO;IAI5B;;OAEG;IACI,QAAQ,IAAI,OAAO;IAI1B;;OAEG;IACI,SAAS,IAAI,OAAO;CAG5B"}
|
94
node_modules/@microsoft/tsdoc/lib/details/StandardModifierTagSet.js
generated
vendored
Normal file
94
node_modules/@microsoft/tsdoc/lib/details/StandardModifierTagSet.js
generated
vendored
Normal file
@ -0,0 +1,94 @@
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
import { ModifierTagSet } from './ModifierTagSet';
|
||||
import { StandardTags } from './StandardTags';
|
||||
/**
|
||||
* Extends the ModifierTagSet base class with getters for modifiers that
|
||||
* are part of the standardized core tags for TSDoc.
|
||||
*/
|
||||
var StandardModifierTagSet = /** @class */ (function (_super) {
|
||||
__extends(StandardModifierTagSet, _super);
|
||||
function StandardModifierTagSet() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
/**
|
||||
* Returns true if the `@alpha` modifier tag was specified.
|
||||
*/
|
||||
StandardModifierTagSet.prototype.isAlpha = function () {
|
||||
return this.hasTag(StandardTags.alpha);
|
||||
};
|
||||
/**
|
||||
* Returns true if the `@beta` modifier tag was specified.
|
||||
*/
|
||||
StandardModifierTagSet.prototype.isBeta = function () {
|
||||
return this.hasTag(StandardTags.beta);
|
||||
};
|
||||
/**
|
||||
* Returns true if the `@eventProperty` modifier tag was specified.
|
||||
*/
|
||||
StandardModifierTagSet.prototype.isEventProperty = function () {
|
||||
return this.hasTag(StandardTags.eventProperty);
|
||||
};
|
||||
/**
|
||||
* Returns true if the `@experimental` modifier tag was specified.
|
||||
*/
|
||||
StandardModifierTagSet.prototype.isExperimental = function () {
|
||||
return this.hasTag(StandardTags.experimental);
|
||||
};
|
||||
/**
|
||||
* Returns true if the `@internal` modifier tag was specified.
|
||||
*/
|
||||
StandardModifierTagSet.prototype.isInternal = function () {
|
||||
return this.hasTag(StandardTags.internal);
|
||||
};
|
||||
/**
|
||||
* Returns true if the `@override` modifier tag was specified.
|
||||
*/
|
||||
StandardModifierTagSet.prototype.isOverride = function () {
|
||||
return this.hasTag(StandardTags.override);
|
||||
};
|
||||
/**
|
||||
* Returns true if the `@packageDocumentation` modifier tag was specified.
|
||||
*/
|
||||
StandardModifierTagSet.prototype.isPackageDocumentation = function () {
|
||||
return this.hasTag(StandardTags.packageDocumentation);
|
||||
};
|
||||
/**
|
||||
* Returns true if the `@public` modifier tag was specified.
|
||||
*/
|
||||
StandardModifierTagSet.prototype.isPublic = function () {
|
||||
return this.hasTag(StandardTags.public);
|
||||
};
|
||||
/**
|
||||
* Returns true if the `@readonly` modifier tag was specified.
|
||||
*/
|
||||
StandardModifierTagSet.prototype.isReadonly = function () {
|
||||
return this.hasTag(StandardTags.readonly);
|
||||
};
|
||||
/**
|
||||
* Returns true if the `@sealed` modifier tag was specified.
|
||||
*/
|
||||
StandardModifierTagSet.prototype.isSealed = function () {
|
||||
return this.hasTag(StandardTags.sealed);
|
||||
};
|
||||
/**
|
||||
* Returns true if the `@virtual` modifier tag was specified.
|
||||
*/
|
||||
StandardModifierTagSet.prototype.isVirtual = function () {
|
||||
return this.hasTag(StandardTags.virtual);
|
||||
};
|
||||
return StandardModifierTagSet;
|
||||
}(ModifierTagSet));
|
||||
export { StandardModifierTagSet };
|
||||
//# sourceMappingURL=StandardModifierTagSet.js.map
|
1
node_modules/@microsoft/tsdoc/lib/details/StandardModifierTagSet.js.map
generated
vendored
Normal file
1
node_modules/@microsoft/tsdoc/lib/details/StandardModifierTagSet.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"StandardModifierTagSet.js","sourceRoot":"","sources":["../../src/details/StandardModifierTagSet.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;GAGG;AACH;IAA4C,0CAAc;IAA1D;;IA6EA,CAAC;IA5EC;;OAEG;IACI,wCAAO,GAAd;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IACzC,CAAC;IAED;;OAEG;IACI,uCAAM,GAAb;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAED;;OAEG;IACI,gDAAe,GAAtB;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACI,+CAAc,GAArB;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;IAChD,CAAC;IAED;;OAEG;IACI,2CAAU,GAAjB;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC5C,CAAC;IAED;;OAEG;IACI,2CAAU,GAAjB;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC5C,CAAC;IAED;;OAEG;IACI,uDAAsB,GAA7B;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC;IACxD,CAAC;IAED;;OAEG;IACI,yCAAQ,GAAf;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;IAED;;OAEG;IACI,2CAAU,GAAjB;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC5C,CAAC;IAED;;OAEG;IACI,yCAAQ,GAAf;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;IAED;;OAEG;IACI,0CAAS,GAAhB;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;IAC3C,CAAC;IACH,6BAAC;AAAD,CAAC,AA7ED,CAA4C,cAAc,GA6EzD","sourcesContent":["import { ModifierTagSet } from './ModifierTagSet';\r\nimport { StandardTags } from './StandardTags';\r\n\r\n/**\r\n * Extends the ModifierTagSet base class with getters for modifiers that\r\n * are part of the standardized core tags for TSDoc.\r\n */\r\nexport class StandardModifierTagSet extends ModifierTagSet {\r\n /**\r\n * Returns true if the `@alpha` modifier tag was specified.\r\n */\r\n public isAlpha(): boolean {\r\n return this.hasTag(StandardTags.alpha);\r\n }\r\n\r\n /**\r\n * Returns true if the `@beta` modifier tag was specified.\r\n */\r\n public isBeta(): boolean {\r\n return this.hasTag(StandardTags.beta);\r\n }\r\n\r\n /**\r\n * Returns true if the `@eventProperty` modifier tag was specified.\r\n */\r\n public isEventProperty(): boolean {\r\n return this.hasTag(StandardTags.eventProperty);\r\n }\r\n\r\n /**\r\n * Returns true if the `@experimental` modifier tag was specified.\r\n */\r\n public isExperimental(): boolean {\r\n return this.hasTag(StandardTags.experimental);\r\n }\r\n\r\n /**\r\n * Returns true if the `@internal` modifier tag was specified.\r\n */\r\n public isInternal(): boolean {\r\n return this.hasTag(StandardTags.internal);\r\n }\r\n\r\n /**\r\n * Returns true if the `@override` modifier tag was specified.\r\n */\r\n public isOverride(): boolean {\r\n return this.hasTag(StandardTags.override);\r\n }\r\n\r\n /**\r\n * Returns true if the `@packageDocumentation` modifier tag was specified.\r\n */\r\n public isPackageDocumentation(): boolean {\r\n return this.hasTag(StandardTags.packageDocumentation);\r\n }\r\n\r\n /**\r\n * Returns true if the `@public` modifier tag was specified.\r\n */\r\n public isPublic(): boolean {\r\n return this.hasTag(StandardTags.public);\r\n }\r\n\r\n /**\r\n * Returns true if the `@readonly` modifier tag was specified.\r\n */\r\n public isReadonly(): boolean {\r\n return this.hasTag(StandardTags.readonly);\r\n }\r\n\r\n /**\r\n * Returns true if the `@sealed` modifier tag was specified.\r\n */\r\n public isSealed(): boolean {\r\n return this.hasTag(StandardTags.sealed);\r\n }\r\n\r\n /**\r\n * Returns true if the `@virtual` modifier tag was specified.\r\n */\r\n public isVirtual(): boolean {\r\n return this.hasTag(StandardTags.virtual);\r\n }\r\n}\r\n"]}
|
356
node_modules/@microsoft/tsdoc/lib/details/StandardTags.d.ts
generated
vendored
Normal file
356
node_modules/@microsoft/tsdoc/lib/details/StandardTags.d.ts
generated
vendored
Normal file
@ -0,0 +1,356 @@
|
||||
import { TSDocTagDefinition } from '../configuration/TSDocTagDefinition';
|
||||
/**
|
||||
* Tags whose meaning is defined by the TSDoc standard.
|
||||
*/
|
||||
export declare class StandardTags {
|
||||
/**
|
||||
* (Discretionary)
|
||||
*
|
||||
* Suggested meaning: Designates that an API item's release stage is "alpha".
|
||||
* It is intended to be used by third-party developers eventually, but has not
|
||||
* yet been released. The tooling may trim the declaration from a public release.
|
||||
*
|
||||
* @remarks
|
||||
* Example implementations: API Extractor
|
||||
*/
|
||||
static readonly alpha: TSDocTagDefinition;
|
||||
/**
|
||||
* (Discretionary)
|
||||
*
|
||||
* Suggested meaning: Designates that an API item's release stage is "beta".
|
||||
* It has been released to third-party developers experimentally for the purpose of
|
||||
* collecting feedback. The API should not be used in production, because its contract may
|
||||
* change without notice. The tooling may trim the declaration from a public release,
|
||||
* but may include it in a developer preview release.
|
||||
*
|
||||
* @remarks
|
||||
* Example implementations: API Extractor
|
||||
*
|
||||
* Synonyms: `@experimental`
|
||||
*/
|
||||
static readonly beta: TSDocTagDefinition;
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* ECMAScript decorators are sometimes an important part of an API contract.
|
||||
* However, today the TypeScript compiler does not represent decorators in the
|
||||
* .d.ts output files used by API consumers. The `@decorator` tag provides a workaround,
|
||||
* enabling a decorator expressions to be quoted in a doc comment.
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* class Book {
|
||||
* /**
|
||||
* * The title of the book.
|
||||
* * @decorator `@jsonSerialized`
|
||||
* * @decorator `@jsonFormat(JsonFormats.Url)`
|
||||
* *
|
||||
*+/
|
||||
* @jsonSerialized
|
||||
* @jsonFormat(JsonFormats.Url)
|
||||
* public website: string;
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
static readonly decorator: TSDocTagDefinition;
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* This block tag is used to document the default value for a field or property,
|
||||
* if a value is not assigned explicitly.
|
||||
*
|
||||
* @remarks
|
||||
* This tag should only be used with fields or properties that are members of a class or interface.
|
||||
*/
|
||||
static readonly defaultValue: TSDocTagDefinition;
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* This block tag communicates that an API item is no longer supported and may be removed
|
||||
* in a future release. The `@deprecated` tag is followed by a sentence describing
|
||||
* the recommended alternative. It recursively applies to members of the container.
|
||||
* For example, if a class is deprecated, then so are all of its members.
|
||||
*/
|
||||
static readonly deprecated: TSDocTagDefinition;
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* When applied to a class or interface property, this indicates that the property
|
||||
* returns an event object that event handlers can be attached to. The event-handling
|
||||
* API is implementation-defined, but typically the property return type would be a class
|
||||
* with members such as `addHandler()` and `removeHandler()`. A documentation tool can
|
||||
* display such properties under an "Events" heading instead of the usual "Properties" heading.
|
||||
*/
|
||||
static readonly eventProperty: TSDocTagDefinition;
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* Indicates a documentation section that should be presented as an example
|
||||
* illustrating how to use the API. It may include a code sample.
|
||||
*/
|
||||
static readonly example: TSDocTagDefinition;
|
||||
/**
|
||||
* (Discretionary)
|
||||
*
|
||||
* Suggested meaning: Same semantics as `@beta`, but used by tools that don't support
|
||||
* an `@alpha` release stage.
|
||||
*
|
||||
* @remarks
|
||||
* Example implementations: Angular API documenter
|
||||
*
|
||||
* Synonyms: `@beta`
|
||||
*/
|
||||
static readonly experimental: TSDocTagDefinition;
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* This inline tag is used to automatically generate an API item's documentation by
|
||||
* copying it from another API item. The inline tag parameter contains a reference
|
||||
* to the other item, which may be an unrelated class, or even an import from a
|
||||
* separate NPM package.
|
||||
*
|
||||
* @remarks
|
||||
* What gets copied
|
||||
*
|
||||
* The `@inheritDoc` tag does not copy the entire comment body. Only the following
|
||||
* components are copied:
|
||||
* - summary section
|
||||
* - `@remarks` block
|
||||
* - `@params` blocks
|
||||
* - `@typeParam` blocks
|
||||
* - `@returns` block
|
||||
* Other tags such as `@defaultValue` or `@example` are not copied, and need to be
|
||||
* explicitly included after the `@inheritDoc` tag.
|
||||
*
|
||||
* TODO: The notation for API item references is still being standardized. See this issue:
|
||||
* https://github.com/microsoft/tsdoc/issues/9
|
||||
*/
|
||||
static readonly inheritDoc: TSDocTagDefinition;
|
||||
/**
|
||||
* (Discretionary)
|
||||
*
|
||||
* Suggested meaning: Designates that an API item is not planned to be used by
|
||||
* third-party developers. The tooling may trim the declaration from a public release.
|
||||
* In some implementations, certain designated packages may be allowed to consume
|
||||
* internal API items, e.g. because the packages are components of the same product.
|
||||
*
|
||||
* @remarks
|
||||
* Example implementations: API Extractor
|
||||
*/
|
||||
static readonly internal: TSDocTagDefinition;
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* The `{@label}` inline tag is used to label a declaration, so that it can be referenced
|
||||
* using a selector in the TSDoc declaration reference notation.
|
||||
*
|
||||
* @remarks
|
||||
* TODO: The `{@label}` notation is still being standardized. See this issue:
|
||||
* https://github.com/microsoft/tsdoc/issues/9
|
||||
*/
|
||||
static readonly label: TSDocTagDefinition;
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* The `{@link}` inline tag is used to create hyperlinks to other pages in a
|
||||
* documentation system or general internet URLs. In particular, it supports
|
||||
* expressions for referencing API items.
|
||||
*
|
||||
* @remarks
|
||||
* TODO: The `{@link}` notation is still being standardized. See this issue:
|
||||
* https://github.com/microsoft/tsdoc/issues/9
|
||||
*/
|
||||
static readonly link: TSDocTagDefinition;
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* This modifier has similar semantics to the `override` keyword in C# or Java.
|
||||
* For a member function or property, explicitly indicates that this definition
|
||||
* is overriding (i.e. redefining) the definition inherited from the base class.
|
||||
* The base class definition would normally be marked as `virtual`.
|
||||
*
|
||||
* @remarks
|
||||
* A documentation tool may enforce that the `@virtual`, `@override`, and/or `@sealed`
|
||||
* modifiers are consistently applied, but this is not required by the TSDoc standard.
|
||||
*/
|
||||
static readonly override: TSDocTagDefinition;
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* Used to indicate a doc comment that describes an entire NPM package (as opposed
|
||||
* to an individual API item belonging to that package). The `@packageDocumentation` comment
|
||||
* is found in the *.d.ts file that acts as the entry point for the package, and it
|
||||
* should be the first `/**` comment encountered in that file. A comment containing a
|
||||
* `@packageDocumentation` tag should never be used to describe an individual API item.
|
||||
*/
|
||||
static readonly packageDocumentation: TSDocTagDefinition;
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* Used to document a function parameter. The `@param` tag is followed by a parameter
|
||||
* name, followed by a hyphen, followed by a description. The TSDoc parser recognizes
|
||||
* this syntax and will extract it into a DocParamBlock node.
|
||||
*/
|
||||
static readonly param: TSDocTagDefinition;
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* Starts a section of additional documentation content that is not intended for a
|
||||
* public audience. A tool must omit this entire section from the API reference web site,
|
||||
* generated *.d.ts file, and any other outputs incorporating the content.
|
||||
*/
|
||||
static readonly privateRemarks: TSDocTagDefinition;
|
||||
/**
|
||||
* (Discretionary)
|
||||
*
|
||||
* Suggested meaning: Designates that an API item's release stage is "public".
|
||||
* It has been officially released to third-party developers, and its signature is
|
||||
* guaranteed to be stable (e.g. following Semantic Versioning rules).
|
||||
*
|
||||
* @remarks
|
||||
* Example implementations: API Extractor
|
||||
*/
|
||||
static readonly public: TSDocTagDefinition;
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* This modifier tag indicates that an API item should be documented as being read-only,
|
||||
* even if the TypeScript type system may indicate otherwise. For example, suppose a
|
||||
* class property has a setter function that always throws an exception explaining that
|
||||
* the property cannot be assigned; in this situation, the `@readonly` modifier can be
|
||||
* added so that the property is shown as read-only in the documentation.
|
||||
*
|
||||
* @remarks
|
||||
* Example implementations: API Extractor
|
||||
*/
|
||||
static readonly readonly: TSDocTagDefinition;
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* The main documentation for an API item is separated into a brief "summary" section,
|
||||
* optionally followed by a more detailed "remarks" section. On a documentation web site,
|
||||
* index pages (e.g. showing members of a class) will show only the brief summaries,
|
||||
* whereas a detail pages (e.g. describing a single member) will show the summary followed
|
||||
* by the remarks. The `@remarks` block tag ends the summary section, and begins the
|
||||
* remarks section for a doc comment.
|
||||
*/
|
||||
static readonly remarks: TSDocTagDefinition;
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* Used to document the return value for a function.
|
||||
*/
|
||||
static readonly returns: TSDocTagDefinition;
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* This modifier has similar semantics to the `sealed` keyword in C# or Java.
|
||||
* For a class, indicates that subclasses must not inherit from the class.
|
||||
* For a member function or property, indicates that subclasses must not override
|
||||
* (i.e. redefine) the member.
|
||||
*
|
||||
* @remarks
|
||||
* A documentation tool may enforce that the `@virtual`, `@override`, and/or `@sealed`
|
||||
* modifiers are consistently applied, but this is not required by the TSDoc standard.
|
||||
*/
|
||||
static readonly sealed: TSDocTagDefinition;
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* Used to build a list of references to an API item or other resource that may be related to the
|
||||
* current item.
|
||||
*
|
||||
* @remarks
|
||||
*
|
||||
* For example:
|
||||
*
|
||||
* ```ts
|
||||
* /**
|
||||
* * Parses a string containing a Uniform Resource Locator (URL).
|
||||
* * @see {@link ParsedUrl} for the returned data structure
|
||||
* * @see {@link https://tools.ietf.org/html/rfc1738|RFC 1738}
|
||||
* * for syntax
|
||||
* * @see your developer SDK for code samples
|
||||
* * @param url - the string to be parsed
|
||||
* * @returns the parsed result
|
||||
* */
|
||||
* function parseURL(url: string): ParsedUrl;
|
||||
* ```
|
||||
*
|
||||
* `@see` is a block tag. Each block becomes an item in the list of references. For example, a documentation
|
||||
* system might render the above blocks as follows:
|
||||
*
|
||||
* ```markdown
|
||||
* `function parseURL(url: string): ParsedUrl;`
|
||||
*
|
||||
* Parses a string containing a Uniform Resource Locator (URL).
|
||||
*
|
||||
* ## See Also
|
||||
* - ParsedUrl for the returned data structure
|
||||
* - RFC 1738 for syntax
|
||||
* - your developer SDK for code samples
|
||||
* ```
|
||||
*
|
||||
* NOTE: JSDoc attempts to automatically hyperlink the text immediately after `@see`. Because this is ambiguous
|
||||
* with plain text, TSDoc instead requires an explicit `{@link}` tag to make hyperlinks.
|
||||
*/
|
||||
static readonly see: TSDocTagDefinition;
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* Used to document an exception type that may be thrown by a function or property.
|
||||
*
|
||||
* @remarks
|
||||
*
|
||||
* A separate `@throws` block should be used to document each exception type. This tag is for informational
|
||||
* purposes only, and does not restrict other types from being thrown. It is suggested, but not required,
|
||||
* for the `@throws` block to start with a line containing only the name of the exception.
|
||||
*
|
||||
* For example:
|
||||
*
|
||||
* ```ts
|
||||
* /**
|
||||
* * Retrieves metadata about a book from the catalog.
|
||||
* *
|
||||
* * @param isbnCode - the ISBN number for the book
|
||||
* * @returns the retrieved book object
|
||||
* *
|
||||
* * @throws {@link IsbnSyntaxError}
|
||||
* * This exception is thrown if the input is not a valid ISBN number.
|
||||
* *
|
||||
* * @throws {@link book-lib#BookNotFoundError}
|
||||
* * Thrown if the ISBN number is valid, but no such book exists in the catalog.
|
||||
* *
|
||||
* * @public
|
||||
* */
|
||||
* function fetchBookByIsbn(isbnCode: string): Book;
|
||||
* ```
|
||||
*/
|
||||
static readonly throws: TSDocTagDefinition;
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* Used to document a generic parameter. The `@typeParam` tag is followed by a parameter
|
||||
* name, followed by a hyphen, followed by a description. The TSDoc parser recognizes
|
||||
* this syntax and will extract it into a DocParamBlock node.
|
||||
*/
|
||||
static readonly typeParam: TSDocTagDefinition;
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* This modifier has similar semantics to the `virtual` keyword in C# or Java.
|
||||
* For a member function or property, explicitly indicates that subclasses may override
|
||||
* (i.e. redefine) the member.
|
||||
*
|
||||
* @remarks
|
||||
* A documentation tool may enforce that the `@virtual`, `@override`, and/or `@sealed`
|
||||
* modifiers are consistently applied, but this is not required by the TSDoc standard.
|
||||
*/
|
||||
static readonly virtual: TSDocTagDefinition;
|
||||
/**
|
||||
* Returns the full list of all core tags.
|
||||
*/
|
||||
static allDefinitions: ReadonlyArray<TSDocTagDefinition>;
|
||||
private static _defineTag;
|
||||
}
|
||||
//# sourceMappingURL=StandardTags.d.ts.map
|
1
node_modules/@microsoft/tsdoc/lib/details/StandardTags.d.ts.map
generated
vendored
Normal file
1
node_modules/@microsoft/tsdoc/lib/details/StandardTags.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"StandardTags.d.ts","sourceRoot":"","sources":["../../src/details/StandardTags.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAGnB,MAAM,qCAAqC,CAAC;AAG7C;;GAEG;AACH,qBAAa,YAAY;IACvB;;;;;;;;;OASG;IACH,gBAAuB,KAAK,EAAE,kBAAkB,CAI7C;IAEH;;;;;;;;;;;;;OAaG;IACH,gBAAuB,IAAI,EAAE,kBAAkB,CAI5C;IAEH;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,gBAAuB,SAAS,EAAE,kBAAkB,CAKjD;IAEH;;;;;;;;OAQG;IACH,gBAAuB,YAAY,EAAE,kBAAkB,CAIpD;IAEH;;;;;;;OAOG;IACH,gBAAuB,UAAU,EAAE,kBAAkB,CAIlD;IAEH;;;;;;;;OAQG;IACH,gBAAuB,aAAa,EAAE,kBAAkB,CAIrD;IAEH;;;;;OAKG;IACH,gBAAuB,OAAO,EAAE,kBAAkB,CAK/C;IAEH;;;;;;;;;;OAUG;IACH,gBAAuB,YAAY,EAAE,kBAAkB,CAIpD;IAEH;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,gBAAuB,UAAU,EAAE,kBAAkB,CAIlD;IAEH;;;;;;;;;;OAUG;IACH,gBAAuB,QAAQ,EAAE,kBAAkB,CAIhD;IAEH;;;;;;;;;OASG;IACH,gBAAuB,KAAK,EAAE,kBAAkB,CAI7C;IAEH;;;;;;;;;;OAUG;IACH,gBAAuB,IAAI,EAAE,kBAAkB,CAK5C;IAEH;;;;;;;;;;;OAWG;IACH,gBAAuB,QAAQ,EAAE,kBAAkB,CAIhD;IAEH;;;;;;;;OAQG;IACH,gBAAuB,oBAAoB,EAAE,kBAAkB,CAI5D;IAEH;;;;;;OAMG;IACH,gBAAuB,KAAK,EAAE,kBAAkB,CAK7C;IAEH;;;;;;OAMG;IACH,gBAAuB,cAAc,EAAE,kBAAkB,CAItD;IAEH;;;;;;;;;OASG;IACH,gBAAuB,MAAM,EAAE,kBAAkB,CAI9C;IAEH;;;;;;;;;;;OAWG;IACH,gBAAuB,QAAQ,EAAE,kBAAkB,CAIhD;IAEH;;;;;;;;;OASG;IACH,gBAAuB,OAAO,EAAE,kBAAkB,CAI/C;IAEH;;;;OAIG;IACH,gBAAuB,OAAO,EAAE,kBAAkB,CAI/C;IAEH;;;;;;;;;;;OAWG;IACH,gBAAuB,MAAM,EAAE,kBAAkB,CAI9C;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACH,gBAAuB,GAAG,EAAE,kBAAkB,CAI3C;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,gBAAuB,MAAM,EAAE,kBAAkB,CAK9C;IAEH;;;;;;OAMG;IACH,gBAAuB,SAAS,EAAE,kBAAkB,CAKjD;IAEH;;;;;;;;;;OAUG;IACH,gBAAuB,OAAO,EAAE,kBAAkB,CAI/C;IAEH;;OAEG;IACH,OAAc,cAAc,EAAE,aAAa,CAAC,kBAAkB,CAAC,CA0B7D;IAEF,OAAO,CAAC,MAAM,CAAC,UAAU;CAG1B"}
|
495
node_modules/@microsoft/tsdoc/lib/details/StandardTags.js
generated
vendored
Normal file
495
node_modules/@microsoft/tsdoc/lib/details/StandardTags.js
generated
vendored
Normal file
@ -0,0 +1,495 @@
|
||||
import { TSDocTagDefinition, TSDocTagSyntaxKind } from '../configuration/TSDocTagDefinition';
|
||||
import { Standardization } from './Standardization';
|
||||
/**
|
||||
* Tags whose meaning is defined by the TSDoc standard.
|
||||
*/
|
||||
var StandardTags = /** @class */ (function () {
|
||||
function StandardTags() {
|
||||
}
|
||||
StandardTags._defineTag = function (parameters) {
|
||||
return new TSDocTagDefinition(parameters);
|
||||
};
|
||||
/**
|
||||
* (Discretionary)
|
||||
*
|
||||
* Suggested meaning: Designates that an API item's release stage is "alpha".
|
||||
* It is intended to be used by third-party developers eventually, but has not
|
||||
* yet been released. The tooling may trim the declaration from a public release.
|
||||
*
|
||||
* @remarks
|
||||
* Example implementations: API Extractor
|
||||
*/
|
||||
StandardTags.alpha = StandardTags._defineTag({
|
||||
tagName: '@alpha',
|
||||
syntaxKind: TSDocTagSyntaxKind.ModifierTag,
|
||||
standardization: Standardization.Discretionary
|
||||
});
|
||||
/**
|
||||
* (Discretionary)
|
||||
*
|
||||
* Suggested meaning: Designates that an API item's release stage is "beta".
|
||||
* It has been released to third-party developers experimentally for the purpose of
|
||||
* collecting feedback. The API should not be used in production, because its contract may
|
||||
* change without notice. The tooling may trim the declaration from a public release,
|
||||
* but may include it in a developer preview release.
|
||||
*
|
||||
* @remarks
|
||||
* Example implementations: API Extractor
|
||||
*
|
||||
* Synonyms: `@experimental`
|
||||
*/
|
||||
StandardTags.beta = StandardTags._defineTag({
|
||||
tagName: '@beta',
|
||||
syntaxKind: TSDocTagSyntaxKind.ModifierTag,
|
||||
standardization: Standardization.Discretionary
|
||||
});
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* ECMAScript decorators are sometimes an important part of an API contract.
|
||||
* However, today the TypeScript compiler does not represent decorators in the
|
||||
* .d.ts output files used by API consumers. The `@decorator` tag provides a workaround,
|
||||
* enabling a decorator expressions to be quoted in a doc comment.
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* class Book {
|
||||
* /**
|
||||
* * The title of the book.
|
||||
* * @decorator `@jsonSerialized`
|
||||
* * @decorator `@jsonFormat(JsonFormats.Url)`
|
||||
* *
|
||||
*+/
|
||||
* @jsonSerialized
|
||||
* @jsonFormat(JsonFormats.Url)
|
||||
* public website: string;
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
StandardTags.decorator = StandardTags._defineTag({
|
||||
tagName: '@decorator',
|
||||
syntaxKind: TSDocTagSyntaxKind.BlockTag,
|
||||
allowMultiple: true,
|
||||
standardization: Standardization.Extended
|
||||
});
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* This block tag is used to document the default value for a field or property,
|
||||
* if a value is not assigned explicitly.
|
||||
*
|
||||
* @remarks
|
||||
* This tag should only be used with fields or properties that are members of a class or interface.
|
||||
*/
|
||||
StandardTags.defaultValue = StandardTags._defineTag({
|
||||
tagName: '@defaultValue',
|
||||
syntaxKind: TSDocTagSyntaxKind.BlockTag,
|
||||
standardization: Standardization.Extended
|
||||
});
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* This block tag communicates that an API item is no longer supported and may be removed
|
||||
* in a future release. The `@deprecated` tag is followed by a sentence describing
|
||||
* the recommended alternative. It recursively applies to members of the container.
|
||||
* For example, if a class is deprecated, then so are all of its members.
|
||||
*/
|
||||
StandardTags.deprecated = StandardTags._defineTag({
|
||||
tagName: '@deprecated',
|
||||
syntaxKind: TSDocTagSyntaxKind.BlockTag,
|
||||
standardization: Standardization.Core
|
||||
});
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* When applied to a class or interface property, this indicates that the property
|
||||
* returns an event object that event handlers can be attached to. The event-handling
|
||||
* API is implementation-defined, but typically the property return type would be a class
|
||||
* with members such as `addHandler()` and `removeHandler()`. A documentation tool can
|
||||
* display such properties under an "Events" heading instead of the usual "Properties" heading.
|
||||
*/
|
||||
StandardTags.eventProperty = StandardTags._defineTag({
|
||||
tagName: '@eventProperty',
|
||||
syntaxKind: TSDocTagSyntaxKind.ModifierTag,
|
||||
standardization: Standardization.Extended
|
||||
});
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* Indicates a documentation section that should be presented as an example
|
||||
* illustrating how to use the API. It may include a code sample.
|
||||
*/
|
||||
StandardTags.example = StandardTags._defineTag({
|
||||
tagName: '@example',
|
||||
syntaxKind: TSDocTagSyntaxKind.BlockTag,
|
||||
allowMultiple: true,
|
||||
standardization: Standardization.Extended
|
||||
});
|
||||
/**
|
||||
* (Discretionary)
|
||||
*
|
||||
* Suggested meaning: Same semantics as `@beta`, but used by tools that don't support
|
||||
* an `@alpha` release stage.
|
||||
*
|
||||
* @remarks
|
||||
* Example implementations: Angular API documenter
|
||||
*
|
||||
* Synonyms: `@beta`
|
||||
*/
|
||||
StandardTags.experimental = StandardTags._defineTag({
|
||||
tagName: '@experimental',
|
||||
syntaxKind: TSDocTagSyntaxKind.ModifierTag,
|
||||
standardization: Standardization.Discretionary
|
||||
});
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* This inline tag is used to automatically generate an API item's documentation by
|
||||
* copying it from another API item. The inline tag parameter contains a reference
|
||||
* to the other item, which may be an unrelated class, or even an import from a
|
||||
* separate NPM package.
|
||||
*
|
||||
* @remarks
|
||||
* What gets copied
|
||||
*
|
||||
* The `@inheritDoc` tag does not copy the entire comment body. Only the following
|
||||
* components are copied:
|
||||
* - summary section
|
||||
* - `@remarks` block
|
||||
* - `@params` blocks
|
||||
* - `@typeParam` blocks
|
||||
* - `@returns` block
|
||||
* Other tags such as `@defaultValue` or `@example` are not copied, and need to be
|
||||
* explicitly included after the `@inheritDoc` tag.
|
||||
*
|
||||
* TODO: The notation for API item references is still being standardized. See this issue:
|
||||
* https://github.com/microsoft/tsdoc/issues/9
|
||||
*/
|
||||
StandardTags.inheritDoc = StandardTags._defineTag({
|
||||
tagName: '@inheritDoc',
|
||||
syntaxKind: TSDocTagSyntaxKind.InlineTag,
|
||||
standardization: Standardization.Extended
|
||||
});
|
||||
/**
|
||||
* (Discretionary)
|
||||
*
|
||||
* Suggested meaning: Designates that an API item is not planned to be used by
|
||||
* third-party developers. The tooling may trim the declaration from a public release.
|
||||
* In some implementations, certain designated packages may be allowed to consume
|
||||
* internal API items, e.g. because the packages are components of the same product.
|
||||
*
|
||||
* @remarks
|
||||
* Example implementations: API Extractor
|
||||
*/
|
||||
StandardTags.internal = StandardTags._defineTag({
|
||||
tagName: '@internal',
|
||||
syntaxKind: TSDocTagSyntaxKind.ModifierTag,
|
||||
standardization: Standardization.Discretionary
|
||||
});
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* The `{@label}` inline tag is used to label a declaration, so that it can be referenced
|
||||
* using a selector in the TSDoc declaration reference notation.
|
||||
*
|
||||
* @remarks
|
||||
* TODO: The `{@label}` notation is still being standardized. See this issue:
|
||||
* https://github.com/microsoft/tsdoc/issues/9
|
||||
*/
|
||||
StandardTags.label = StandardTags._defineTag({
|
||||
tagName: '@label',
|
||||
syntaxKind: TSDocTagSyntaxKind.InlineTag,
|
||||
standardization: Standardization.Core
|
||||
});
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* The `{@link}` inline tag is used to create hyperlinks to other pages in a
|
||||
* documentation system or general internet URLs. In particular, it supports
|
||||
* expressions for referencing API items.
|
||||
*
|
||||
* @remarks
|
||||
* TODO: The `{@link}` notation is still being standardized. See this issue:
|
||||
* https://github.com/microsoft/tsdoc/issues/9
|
||||
*/
|
||||
StandardTags.link = StandardTags._defineTag({
|
||||
tagName: '@link',
|
||||
syntaxKind: TSDocTagSyntaxKind.InlineTag,
|
||||
allowMultiple: true,
|
||||
standardization: Standardization.Core
|
||||
});
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* This modifier has similar semantics to the `override` keyword in C# or Java.
|
||||
* For a member function or property, explicitly indicates that this definition
|
||||
* is overriding (i.e. redefining) the definition inherited from the base class.
|
||||
* The base class definition would normally be marked as `virtual`.
|
||||
*
|
||||
* @remarks
|
||||
* A documentation tool may enforce that the `@virtual`, `@override`, and/or `@sealed`
|
||||
* modifiers are consistently applied, but this is not required by the TSDoc standard.
|
||||
*/
|
||||
StandardTags.override = StandardTags._defineTag({
|
||||
tagName: '@override',
|
||||
syntaxKind: TSDocTagSyntaxKind.ModifierTag,
|
||||
standardization: Standardization.Extended
|
||||
});
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* Used to indicate a doc comment that describes an entire NPM package (as opposed
|
||||
* to an individual API item belonging to that package). The `@packageDocumentation` comment
|
||||
* is found in the *.d.ts file that acts as the entry point for the package, and it
|
||||
* should be the first `/**` comment encountered in that file. A comment containing a
|
||||
* `@packageDocumentation` tag should never be used to describe an individual API item.
|
||||
*/
|
||||
StandardTags.packageDocumentation = StandardTags._defineTag({
|
||||
tagName: '@packageDocumentation',
|
||||
syntaxKind: TSDocTagSyntaxKind.ModifierTag,
|
||||
standardization: Standardization.Core
|
||||
});
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* Used to document a function parameter. The `@param` tag is followed by a parameter
|
||||
* name, followed by a hyphen, followed by a description. The TSDoc parser recognizes
|
||||
* this syntax and will extract it into a DocParamBlock node.
|
||||
*/
|
||||
StandardTags.param = StandardTags._defineTag({
|
||||
tagName: '@param',
|
||||
syntaxKind: TSDocTagSyntaxKind.BlockTag,
|
||||
allowMultiple: true,
|
||||
standardization: Standardization.Core
|
||||
});
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* Starts a section of additional documentation content that is not intended for a
|
||||
* public audience. A tool must omit this entire section from the API reference web site,
|
||||
* generated *.d.ts file, and any other outputs incorporating the content.
|
||||
*/
|
||||
StandardTags.privateRemarks = StandardTags._defineTag({
|
||||
tagName: '@privateRemarks',
|
||||
syntaxKind: TSDocTagSyntaxKind.BlockTag,
|
||||
standardization: Standardization.Core
|
||||
});
|
||||
/**
|
||||
* (Discretionary)
|
||||
*
|
||||
* Suggested meaning: Designates that an API item's release stage is "public".
|
||||
* It has been officially released to third-party developers, and its signature is
|
||||
* guaranteed to be stable (e.g. following Semantic Versioning rules).
|
||||
*
|
||||
* @remarks
|
||||
* Example implementations: API Extractor
|
||||
*/
|
||||
StandardTags.public = StandardTags._defineTag({
|
||||
tagName: '@public',
|
||||
syntaxKind: TSDocTagSyntaxKind.ModifierTag,
|
||||
standardization: Standardization.Discretionary
|
||||
});
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* This modifier tag indicates that an API item should be documented as being read-only,
|
||||
* even if the TypeScript type system may indicate otherwise. For example, suppose a
|
||||
* class property has a setter function that always throws an exception explaining that
|
||||
* the property cannot be assigned; in this situation, the `@readonly` modifier can be
|
||||
* added so that the property is shown as read-only in the documentation.
|
||||
*
|
||||
* @remarks
|
||||
* Example implementations: API Extractor
|
||||
*/
|
||||
StandardTags.readonly = StandardTags._defineTag({
|
||||
tagName: '@readonly',
|
||||
syntaxKind: TSDocTagSyntaxKind.ModifierTag,
|
||||
standardization: Standardization.Extended
|
||||
});
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* The main documentation for an API item is separated into a brief "summary" section,
|
||||
* optionally followed by a more detailed "remarks" section. On a documentation web site,
|
||||
* index pages (e.g. showing members of a class) will show only the brief summaries,
|
||||
* whereas a detail pages (e.g. describing a single member) will show the summary followed
|
||||
* by the remarks. The `@remarks` block tag ends the summary section, and begins the
|
||||
* remarks section for a doc comment.
|
||||
*/
|
||||
StandardTags.remarks = StandardTags._defineTag({
|
||||
tagName: '@remarks',
|
||||
syntaxKind: TSDocTagSyntaxKind.BlockTag,
|
||||
standardization: Standardization.Core
|
||||
});
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* Used to document the return value for a function.
|
||||
*/
|
||||
StandardTags.returns = StandardTags._defineTag({
|
||||
tagName: '@returns',
|
||||
syntaxKind: TSDocTagSyntaxKind.BlockTag,
|
||||
standardization: Standardization.Core
|
||||
});
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* This modifier has similar semantics to the `sealed` keyword in C# or Java.
|
||||
* For a class, indicates that subclasses must not inherit from the class.
|
||||
* For a member function or property, indicates that subclasses must not override
|
||||
* (i.e. redefine) the member.
|
||||
*
|
||||
* @remarks
|
||||
* A documentation tool may enforce that the `@virtual`, `@override`, and/or `@sealed`
|
||||
* modifiers are consistently applied, but this is not required by the TSDoc standard.
|
||||
*/
|
||||
StandardTags.sealed = StandardTags._defineTag({
|
||||
tagName: '@sealed',
|
||||
syntaxKind: TSDocTagSyntaxKind.ModifierTag,
|
||||
standardization: Standardization.Extended
|
||||
});
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* Used to build a list of references to an API item or other resource that may be related to the
|
||||
* current item.
|
||||
*
|
||||
* @remarks
|
||||
*
|
||||
* For example:
|
||||
*
|
||||
* ```ts
|
||||
* /**
|
||||
* * Parses a string containing a Uniform Resource Locator (URL).
|
||||
* * @see {@link ParsedUrl} for the returned data structure
|
||||
* * @see {@link https://tools.ietf.org/html/rfc1738|RFC 1738}
|
||||
* * for syntax
|
||||
* * @see your developer SDK for code samples
|
||||
* * @param url - the string to be parsed
|
||||
* * @returns the parsed result
|
||||
* */
|
||||
* function parseURL(url: string): ParsedUrl;
|
||||
* ```
|
||||
*
|
||||
* `@see` is a block tag. Each block becomes an item in the list of references. For example, a documentation
|
||||
* system might render the above blocks as follows:
|
||||
*
|
||||
* ```markdown
|
||||
* `function parseURL(url: string): ParsedUrl;`
|
||||
*
|
||||
* Parses a string containing a Uniform Resource Locator (URL).
|
||||
*
|
||||
* ## See Also
|
||||
* - ParsedUrl for the returned data structure
|
||||
* - RFC 1738 for syntax
|
||||
* - your developer SDK for code samples
|
||||
* ```
|
||||
*
|
||||
* NOTE: JSDoc attempts to automatically hyperlink the text immediately after `@see`. Because this is ambiguous
|
||||
* with plain text, TSDoc instead requires an explicit `{@link}` tag to make hyperlinks.
|
||||
*/
|
||||
StandardTags.see = StandardTags._defineTag({
|
||||
tagName: '@see',
|
||||
syntaxKind: TSDocTagSyntaxKind.BlockTag,
|
||||
standardization: Standardization.Extended
|
||||
});
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* Used to document an exception type that may be thrown by a function or property.
|
||||
*
|
||||
* @remarks
|
||||
*
|
||||
* A separate `@throws` block should be used to document each exception type. This tag is for informational
|
||||
* purposes only, and does not restrict other types from being thrown. It is suggested, but not required,
|
||||
* for the `@throws` block to start with a line containing only the name of the exception.
|
||||
*
|
||||
* For example:
|
||||
*
|
||||
* ```ts
|
||||
* /**
|
||||
* * Retrieves metadata about a book from the catalog.
|
||||
* *
|
||||
* * @param isbnCode - the ISBN number for the book
|
||||
* * @returns the retrieved book object
|
||||
* *
|
||||
* * @throws {@link IsbnSyntaxError}
|
||||
* * This exception is thrown if the input is not a valid ISBN number.
|
||||
* *
|
||||
* * @throws {@link book-lib#BookNotFoundError}
|
||||
* * Thrown if the ISBN number is valid, but no such book exists in the catalog.
|
||||
* *
|
||||
* * @public
|
||||
* */
|
||||
* function fetchBookByIsbn(isbnCode: string): Book;
|
||||
* ```
|
||||
*/
|
||||
StandardTags.throws = StandardTags._defineTag({
|
||||
tagName: '@throws',
|
||||
syntaxKind: TSDocTagSyntaxKind.BlockTag,
|
||||
allowMultiple: true,
|
||||
standardization: Standardization.Extended
|
||||
});
|
||||
/**
|
||||
* (Core)
|
||||
*
|
||||
* Used to document a generic parameter. The `@typeParam` tag is followed by a parameter
|
||||
* name, followed by a hyphen, followed by a description. The TSDoc parser recognizes
|
||||
* this syntax and will extract it into a DocParamBlock node.
|
||||
*/
|
||||
StandardTags.typeParam = StandardTags._defineTag({
|
||||
tagName: '@typeParam',
|
||||
syntaxKind: TSDocTagSyntaxKind.BlockTag,
|
||||
allowMultiple: true,
|
||||
standardization: Standardization.Core
|
||||
});
|
||||
/**
|
||||
* (Extended)
|
||||
*
|
||||
* This modifier has similar semantics to the `virtual` keyword in C# or Java.
|
||||
* For a member function or property, explicitly indicates that subclasses may override
|
||||
* (i.e. redefine) the member.
|
||||
*
|
||||
* @remarks
|
||||
* A documentation tool may enforce that the `@virtual`, `@override`, and/or `@sealed`
|
||||
* modifiers are consistently applied, but this is not required by the TSDoc standard.
|
||||
*/
|
||||
StandardTags.virtual = StandardTags._defineTag({
|
||||
tagName: '@virtual',
|
||||
syntaxKind: TSDocTagSyntaxKind.ModifierTag,
|
||||
standardization: Standardization.Extended
|
||||
});
|
||||
/**
|
||||
* Returns the full list of all core tags.
|
||||
*/
|
||||
StandardTags.allDefinitions = [
|
||||
StandardTags.alpha,
|
||||
StandardTags.beta,
|
||||
StandardTags.defaultValue,
|
||||
StandardTags.decorator,
|
||||
StandardTags.deprecated,
|
||||
StandardTags.eventProperty,
|
||||
StandardTags.example,
|
||||
StandardTags.experimental,
|
||||
StandardTags.inheritDoc,
|
||||
StandardTags.internal,
|
||||
StandardTags.label,
|
||||
StandardTags.link,
|
||||
StandardTags.override,
|
||||
StandardTags.packageDocumentation,
|
||||
StandardTags.param,
|
||||
StandardTags.privateRemarks,
|
||||
StandardTags.public,
|
||||
StandardTags.readonly,
|
||||
StandardTags.remarks,
|
||||
StandardTags.returns,
|
||||
StandardTags.sealed,
|
||||
StandardTags.see,
|
||||
StandardTags.throws,
|
||||
StandardTags.typeParam,
|
||||
StandardTags.virtual
|
||||
];
|
||||
return StandardTags;
|
||||
}());
|
||||
export { StandardTags };
|
||||
//# sourceMappingURL=StandardTags.js.map
|
1
node_modules/@microsoft/tsdoc/lib/details/StandardTags.js.map
generated
vendored
Normal file
1
node_modules/@microsoft/tsdoc/lib/details/StandardTags.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
33
node_modules/@microsoft/tsdoc/lib/details/Standardization.d.ts
generated
vendored
Normal file
33
node_modules/@microsoft/tsdoc/lib/details/Standardization.d.ts
generated
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
/**
|
||||
* Used to group the {@link StandardTags} definitions according to the level of support
|
||||
* expected from documentation tools that implement the standard.
|
||||
*/
|
||||
export declare enum Standardization {
|
||||
/**
|
||||
* TSDoc tags in the "Core" standardization group are considered essential.
|
||||
* Their meaning is standardized, and every documentation tool is expected
|
||||
* to recognize them. The TSDoc parser library typically provides dedicated APIs
|
||||
* for accessing these tags.
|
||||
*/
|
||||
Core = "Core",
|
||||
/**
|
||||
* TSDoc tags in the "Extended" standardization group are optional. Documentation tools
|
||||
* may or may not support them. If they do, the syntax and semantics should conform to
|
||||
* the TSDoc standard definitions.
|
||||
*/
|
||||
Extended = "Extended",
|
||||
/**
|
||||
* TSDoc tags in the "Discretionary" standardization group are optional. Although the
|
||||
* syntax is specified, the semantics for these tags are implementation-specific
|
||||
* (and sometimes difficult to describe completely without referring to a specific
|
||||
* implementation). Discretionary tags are included in the TSDoc standard to ensure that
|
||||
* if two different popular tools use the same tag name, developers can expect the syntax
|
||||
* to be the same, and the semantics to be somewhat similar.
|
||||
*/
|
||||
Discretionary = "Discretionary",
|
||||
/**
|
||||
* The tag is not part of the TSDoc standard. All used-defined tags are assigned to this group.
|
||||
*/
|
||||
None = "None"
|
||||
}
|
||||
//# sourceMappingURL=Standardization.d.ts.map
|
1
node_modules/@microsoft/tsdoc/lib/details/Standardization.d.ts.map
generated
vendored
Normal file
1
node_modules/@microsoft/tsdoc/lib/details/Standardization.d.ts.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"Standardization.d.ts","sourceRoot":"","sources":["../../src/details/Standardization.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oBAAY,eAAe;IACzB;;;;;OAKG;IACH,IAAI,SAAS;IAEb;;;;OAIG;IACH,QAAQ,aAAa;IAErB;;;;;;;OAOG;IACH,aAAa,kBAAkB;IAE/B;;OAEG;IACH,IAAI,SAAS;CACd"}
|
34
node_modules/@microsoft/tsdoc/lib/details/Standardization.js
generated
vendored
Normal file
34
node_modules/@microsoft/tsdoc/lib/details/Standardization.js
generated
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
/**
|
||||
* Used to group the {@link StandardTags} definitions according to the level of support
|
||||
* expected from documentation tools that implement the standard.
|
||||
*/
|
||||
export var Standardization;
|
||||
(function (Standardization) {
|
||||
/**
|
||||
* TSDoc tags in the "Core" standardization group are considered essential.
|
||||
* Their meaning is standardized, and every documentation tool is expected
|
||||
* to recognize them. The TSDoc parser library typically provides dedicated APIs
|
||||
* for accessing these tags.
|
||||
*/
|
||||
Standardization["Core"] = "Core";
|
||||
/**
|
||||
* TSDoc tags in the "Extended" standardization group are optional. Documentation tools
|
||||
* may or may not support them. If they do, the syntax and semantics should conform to
|
||||
* the TSDoc standard definitions.
|
||||
*/
|
||||
Standardization["Extended"] = "Extended";
|
||||
/**
|
||||
* TSDoc tags in the "Discretionary" standardization group are optional. Although the
|
||||
* syntax is specified, the semantics for these tags are implementation-specific
|
||||
* (and sometimes difficult to describe completely without referring to a specific
|
||||
* implementation). Discretionary tags are included in the TSDoc standard to ensure that
|
||||
* if two different popular tools use the same tag name, developers can expect the syntax
|
||||
* to be the same, and the semantics to be somewhat similar.
|
||||
*/
|
||||
Standardization["Discretionary"] = "Discretionary";
|
||||
/**
|
||||
* The tag is not part of the TSDoc standard. All used-defined tags are assigned to this group.
|
||||
*/
|
||||
Standardization["None"] = "None";
|
||||
})(Standardization || (Standardization = {}));
|
||||
//# sourceMappingURL=Standardization.js.map
|
1
node_modules/@microsoft/tsdoc/lib/details/Standardization.js.map
generated
vendored
Normal file
1
node_modules/@microsoft/tsdoc/lib/details/Standardization.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"Standardization.js","sourceRoot":"","sources":["../../src/details/Standardization.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAN,IAAY,eA8BX;AA9BD,WAAY,eAAe;IACzB;;;;;OAKG;IACH,gCAAa,CAAA;IAEb;;;;OAIG;IACH,wCAAqB,CAAA;IAErB;;;;;;;OAOG;IACH,kDAA+B,CAAA;IAE/B;;OAEG;IACH,gCAAa,CAAA;AACf,CAAC,EA9BW,eAAe,KAAf,eAAe,QA8B1B","sourcesContent":["/**\r\n * Used to group the {@link StandardTags} definitions according to the level of support\r\n * expected from documentation tools that implement the standard.\r\n */\r\nexport enum Standardization {\r\n /**\r\n * TSDoc tags in the \"Core\" standardization group are considered essential.\r\n * Their meaning is standardized, and every documentation tool is expected\r\n * to recognize them. The TSDoc parser library typically provides dedicated APIs\r\n * for accessing these tags.\r\n */\r\n Core = 'Core',\r\n\r\n /**\r\n * TSDoc tags in the \"Extended\" standardization group are optional. Documentation tools\r\n * may or may not support them. If they do, the syntax and semantics should conform to\r\n * the TSDoc standard definitions.\r\n */\r\n Extended = 'Extended',\r\n\r\n /**\r\n * TSDoc tags in the \"Discretionary\" standardization group are optional. Although the\r\n * syntax is specified, the semantics for these tags are implementation-specific\r\n * (and sometimes difficult to describe completely without referring to a specific\r\n * implementation). Discretionary tags are included in the TSDoc standard to ensure that\r\n * if two different popular tools use the same tag name, developers can expect the syntax\r\n * to be the same, and the semantics to be somewhat similar.\r\n */\r\n Discretionary = 'Discretionary',\r\n\r\n /**\r\n * The tag is not part of the TSDoc standard. All used-defined tags are assigned to this group.\r\n */\r\n None = 'None'\r\n}\r\n"]}
|
Reference in New Issue
Block a user