"use strict";
var syntaxKind_1 = require("./syntaxKind");
var SyntaxKind = syntaxKind_1.current();
exports.getDeclaredPropertyNames = function (declaration) {
    return declaration.members.filter(function (m) { return m.kind === SyntaxKind.PropertyDeclaration ||
        m.kind === SyntaxKind.GetAccessor || m.kind === SyntaxKind.SetAccessor; })
        .map(function (d) { return d.name.text; });
};
exports.getDeclaredMethodNames = function (declaration) {
    return declaration.members.filter(function (m) { return m.kind === SyntaxKind.MethodDeclaration; })
        .map(function (d) { return d.name.text; });
};
