add object, key, and null as SymbolKind, fixes #2111

This commit is contained in:
Johannes Rieken
2016-01-20 12:34:24 +01:00
parent d6b4ed5b4e
commit a44092d6f3
5 changed files with 37 additions and 1 deletions

View File

@@ -218,6 +218,12 @@ export namespace SymbolKind {
return 'number';
case types.SymbolKind.Boolean:
return 'boolean';
case types.SymbolKind.Object:
return 'object';
case types.SymbolKind.Key:
return 'key';
case types.SymbolKind.Null:
return 'null';
}
return 'property';
}
@@ -256,6 +262,12 @@ export namespace SymbolKind {
return types.SymbolKind.Number;
case 'boolean':
return types.SymbolKind.Boolean;
case 'object':
return types.SymbolKind.Object;
case 'key':
return types.SymbolKind.Key;
case 'null':
return types.SymbolKind.Null;
}
return types.SymbolKind.Property;
}

View File

@@ -536,6 +536,9 @@ export enum SymbolKind {
Number,
Boolean,
Array,
Object,
Key,
Null
}
export class SymbolInformation {