ts-simple-ast
Version:
TypeScript compiler wrapper for AST navigation and code generation.
29 lines (27 loc) • 1.28 kB
JavaScript
;
/* tslint:disable */
// DO NOT MANUALLY EDIT!! File generated via: npm run code-generate
Object.defineProperty(exports, "__esModule", { value: true });
const getMixinStructureFuncs = require("./getMixinStructureFunctions");
function fromConstructorDeclarationOverload(node) {
let structure = {};
Object.assign(structure, getMixinStructureFuncs.fromScopedNode(node));
return structure;
}
exports.fromConstructorDeclarationOverload = fromConstructorDeclarationOverload;
function fromMethodDeclarationOverload(node) {
let structure = {};
Object.assign(structure, getMixinStructureFuncs.fromStaticableNode(node));
Object.assign(structure, getMixinStructureFuncs.fromAbstractableNode(node));
Object.assign(structure, getMixinStructureFuncs.fromScopedNode(node));
return structure;
}
exports.fromMethodDeclarationOverload = fromMethodDeclarationOverload;
function fromFunctionDeclarationOverload(node) {
let structure = {};
Object.assign(structure, getMixinStructureFuncs.fromAmbientableNode(node));
Object.assign(structure, getMixinStructureFuncs.fromExportableNode(node));
return structure;
}
exports.fromFunctionDeclarationOverload = fromFunctionDeclarationOverload;
//# sourceMappingURL=getStructureFunctions.js.map