File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1435,30 +1435,6 @@ namespace ts {
14351435 return getNamedClassMembers ( classDeclaration ) . filter ( member => getModifierFlags ( member ) & ModifierFlags . Abstract ) ;
14361436 }
14371437
1438- /*
1439- function getMembersAndStartPosFromReference(variableDeclaration: VariableDeclaration): { startPos: number, members: string[] } {
1440- const children = variableDeclaration.getChildren();
1441- const variableMembers: string[] = [];
1442- let startPos = 0;
1443-
1444- ts.forEach(children, child => {
1445- if (child.kind === SyntaxKind.ObjectLiteralExpression) {
1446- const properties = (<ObjectLiteralExpression>child).properties;
1447- if (properties) {
1448- startPos = properties.pos;
1449- }
1450- for (let j = 0; properties && j < properties.length; j++) {
1451- if (properties[j].name) {
1452- variableMembers.push(properties[j].name.getText());
1453- }
1454- }
1455- }
1456- });
1457-
1458- return { startPos: startPos, members: variableMembers };
1459- }
1460- */
1461-
14621438 function getDefaultValue ( kind : SyntaxKind ) : string {
14631439 switch ( kind ) {
14641440 case SyntaxKind . StringKeyword :
You can’t perform that action at this time.
0 commit comments