lsif-protocol
Advanced tools
Comparing version 0.6.0-next.6 to 0.6.0-next.7
@@ -228,3 +228,9 @@ import * as lsp from 'vscode-languageserver-protocol'; | ||
/** | ||
* Additional tags for the definition. | ||
*/ | ||
tags?: lsp.SymbolTag[]; | ||
/** | ||
* Indicates if this symbol is deprecated. | ||
* | ||
* @deprecated Use tags instead. | ||
*/ | ||
@@ -263,3 +269,9 @@ deprecated?: boolean; | ||
/** | ||
* Additional tags for the definition. | ||
*/ | ||
tags?: lsp.SymbolTag[]; | ||
/** | ||
* Indicates if this symbol is deprecated. | ||
* | ||
* @deprecated Use tags instead. | ||
*/ | ||
@@ -689,4 +701,7 @@ deprecated?: boolean; | ||
* A range based document symbol. This allows to reuse already | ||
* emitted ranges with a `declaration` tag in a document symbol | ||
* result. | ||
* emitted ranges with a `declaration` or 'definition` tag in a | ||
* document symbol result. | ||
* | ||
* When converting these into a LSP document symbol the range's | ||
* text should be mapped to the document symbol's name. | ||
*/ | ||
@@ -693,0 +708,0 @@ export interface RangeBasedDocumentSymbol { |
@@ -41,2 +41,6 @@ "use strict"; | ||
Is.symbolKind = symbolKind; | ||
function symbolTag(value) { | ||
return typeof value === 'number' || value instanceof Number; | ||
} | ||
Is.symbolTag = symbolTag; | ||
})(Is || (Is = {})); | ||
@@ -418,2 +422,3 @@ var PropertyFlags; | ||
kind: new Property(Is.symbolKind), | ||
tags: new Property(Is.symbolTag, PropertyFlags.optional), | ||
deprecated: new BooleanProperty(PropertyFlags.optional), | ||
@@ -434,2 +439,3 @@ fullRange: new Property(lsp.Range.is), | ||
kind: new Property(Is.symbolKind), | ||
tags: new Property(Is.symbolTag, PropertyFlags.optional), | ||
deprecated: new BooleanProperty(PropertyFlags.optional), | ||
@@ -436,0 +442,0 @@ fullRange: new Property(lsp.Range.is), |
{ | ||
"name": "lsif-protocol", | ||
"description": "Typescript implementation of the LSIF protocol", | ||
"version": "0.6.0-next.6", | ||
"version": "0.6.0-next.7", | ||
"author": "Microsoft Corporation", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98375
2454