This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"lastUpload":"2020-05-13T06:31:10.302Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "keywords": [ | |
| "typedocplugin" | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = (PluginHost: Application) => { | |
| const app = PluginHost.owner; | |
| /** | |
| * Add Options register Component. | |
| */ | |
| app.options.addComponent('options-component', OptComponent); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Component({ name: 'options-component' }) | |
| export class OptComponent extends OptionsComponent { | |
| public initialize() { | |
| const generateToOption: DeclarationOption = { | |
| name: "generate-json", | |
| short: "gen-json", | |
| type: ParameterType.String, | |
| help: 'Specifies the directory where the json files have to be generated.', | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Component({ name: 'options-component' }) | |
| export class OptComponent extends OptionsComponent { | |
| public initialize() { | |
| const generateToOption: DeclarationOption = { | |
| name: "generate-json", | |
| short: "gen-json", | |
| type: ParameterType.String, | |
| help: 'Specifies the directory where the json files have to be generated.', | |
| }; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Component({ name: 'convert-component' }) | |
| export class ConvertComponent extends ConverterComponent { | |
| ... | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export class A { | |
| public b; | |
| public c; | |
| public d(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Component({ name: 'convert-component' }) | |
| export class ConvertComponent extends ConverterComponent { | |
| public initialize() { | |
| this.listenTo(this.owner, { | |
| [Converter.EVENT_RESOLVE]: this.resolve, | |
| [Converter.EVENT_RESOLVE_BEGIN]: this.onResolveBegin, | |
| [Converter.EVENT_RESOLVE_END]: this.onResolveEnd, | |
| [Converter.EVENT_END]: this.onEnd, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Triggers per every reflection object. | |
| * @param reflection | |
| */ | |
| private resolve(context, reflection) { | |
| switch(reflection.kind) { | |
| case ReflectionKind.Enum: | |
| case ReflectionKind.Class: | |
| case ReflectionKind.Interface: | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Triggers per every reflection object. | |
| * @param reflection | |
| */ | |
| private resolve(context, reflection) { | |
| switch(reflection.kind) { | |
| ... | |
| case ReflectionKind.GetSignature: | |
| case ReflectionKind.SetSignature: | |
| const accessorName = reflection.parent.name; |
OlderNewer