Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
15 lines
914 B
Plaintext
15 lines
914 B
Plaintext
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.stringifyDecoratorInfo = stringifyDecoratorInfo;
|
|
const DecoratorInfoKind_1 = require("../models/DecoratorInfoKind");
|
|
function stringifyDecoratorInfo(decoratorTargetInfo) {
|
|
switch (decoratorTargetInfo.kind) {
|
|
case DecoratorInfoKind_1.DecoratorInfoKind.method:
|
|
return `[class: "${decoratorTargetInfo.targetClass.name}", method: "${decoratorTargetInfo.method.toString()}"]`;
|
|
case DecoratorInfoKind_1.DecoratorInfoKind.parameter:
|
|
return `[class: "${decoratorTargetInfo.targetClass.name}", index: "${decoratorTargetInfo.index.toString()}"]`;
|
|
case DecoratorInfoKind_1.DecoratorInfoKind.property:
|
|
return `[class: "${decoratorTargetInfo.targetClass.name}", property: "${decoratorTargetInfo.property.toString()}"]`;
|
|
}
|
|
}
|
|
//# sourceMappingURL=stringifyDecoratorInfo.js.map |