Equations
- Lean.Lsp.instFromJsonCompletionOptions = { fromJson? := Lean.Lsp.fromJsonCompletionOptions✝ }
- text: Lean.Lsp.CompletionItemKind
- method: Lean.Lsp.CompletionItemKind
- function: Lean.Lsp.CompletionItemKind
- constructor: Lean.Lsp.CompletionItemKind
- field: Lean.Lsp.CompletionItemKind
- variable: Lean.Lsp.CompletionItemKind
- class: Lean.Lsp.CompletionItemKind
- interface: Lean.Lsp.CompletionItemKind
- module: Lean.Lsp.CompletionItemKind
- property: Lean.Lsp.CompletionItemKind
- unit: Lean.Lsp.CompletionItemKind
- value: Lean.Lsp.CompletionItemKind
- enum: Lean.Lsp.CompletionItemKind
- keyword: Lean.Lsp.CompletionItemKind
- snippet: Lean.Lsp.CompletionItemKind
- color: Lean.Lsp.CompletionItemKind
- file: Lean.Lsp.CompletionItemKind
- reference: Lean.Lsp.CompletionItemKind
- folder: Lean.Lsp.CompletionItemKind
- enumMember: Lean.Lsp.CompletionItemKind
- constant: Lean.Lsp.CompletionItemKind
- struct: Lean.Lsp.CompletionItemKind
- event: Lean.Lsp.CompletionItemKind
- operator: Lean.Lsp.CompletionItemKind
- typeParameter: Lean.Lsp.CompletionItemKind
Instances For
Equations
- Lean.Lsp.instDecidableEqCompletionItemKind x y = if h : x.toCtorIdx = y.toCtorIdx then isTrue ⋯ else isFalse ⋯
Equations
- Lean.Lsp.instReprCompletionItemKind = { reprPrec := Lean.Lsp.reprCompletionItemKind✝ }
Equations
- Lean.Lsp.instToJsonCompletionItemKind = { toJson := fun (a : Lean.Lsp.CompletionItemKind) => Lean.toJson (a.toCtorIdx + 1) }
Equations
- Lean.Lsp.instFromJsonCompletionItemKind = { fromJson? := fun (v : Lean.Json) => do let i ← Lean.fromJson? v pure (Lean.Lsp.CompletionItemKind.ofNat (i - 1)) }
- newText : String
- insert : Lean.Lsp.Range
- replace : Lean.Lsp.Range
Instances For
Equations
- Lean.Lsp.instFromJsonInsertReplaceEdit = { fromJson? := Lean.Lsp.fromJsonInsertReplaceEdit✝ }
Equations
- Lean.Lsp.instDecidableEqCompletionItemTag x y = if h : x.toCtorIdx = y.toCtorIdx then isTrue ⋯ else isFalse ⋯
Equations
- Lean.Lsp.instReprCompletionItemTag = { reprPrec := Lean.Lsp.reprCompletionItemTag✝ }
Equations
- Lean.Lsp.instToJsonCompletionItemTag = { toJson := fun (t : Lean.Lsp.CompletionItemTag) => Lean.toJson (t.toCtorIdx + 1) }
Equations
- Lean.Lsp.instFromJsonCompletionItemTag = { fromJson? := fun (v : Lean.Json) => do let i ← Lean.fromJson? v pure (Lean.Lsp.CompletionItemTag.ofNat (i - 1)) }
- label : String
- documentation? : Option Lean.Lsp.MarkupContent
- kind? : Option Lean.Lsp.CompletionItemKind
- textEdit? : Option Lean.Lsp.InsertReplaceEdit
Instances For
Equations
- Lean.Lsp.instFromJsonCompletionItem = { fromJson? := Lean.Lsp.fromJsonCompletionItem✝ }
Equations
- Lean.Lsp.instToJsonCompletionItem = { toJson := Lean.Lsp.toJsonCompletionItem✝ }
Equations
- One or more equations did not get rendered due to their size.
- isIncomplete : Bool
- items : Array Lean.Lsp.CompletionItem
Instances For
Equations
- Lean.Lsp.instFromJsonCompletionList = { fromJson? := Lean.Lsp.fromJsonCompletionList✝ }
Equations
- Lean.Lsp.instToJsonCompletionList = { toJson := Lean.Lsp.toJsonCompletionList✝ }
Instances For
Equations
- Lean.Lsp.instFromJsonCompletionParams = { fromJson? := Lean.Lsp.fromJsonCompletionParams✝ }
Equations
- contents : Lean.Lsp.MarkupContent
- range? : Option Lean.Lsp.Range
Instances For
Equations
- Lean.Lsp.instToJsonHover = { toJson := Lean.Lsp.toJsonHover✝ }
Equations
- Lean.Lsp.instFromJsonHover = { fromJson? := Lean.Lsp.fromJsonHover✝ }
Equations
- Lean.Lsp.instFromJsonHoverParams = { fromJson? := Lean.Lsp.fromJsonHoverParams✝ }
Equations
- Lean.Lsp.instToJsonHoverParams = { toJson := Lean.Lsp.toJsonHoverParams✝ }
Instances For
Equations
- Lean.Lsp.instFromJsonDeclarationParams = { fromJson? := Lean.Lsp.fromJsonDeclarationParams✝ }
Instances For
Equations
- Lean.Lsp.instFromJsonDefinitionParams = { fromJson? := Lean.Lsp.fromJsonDefinitionParams✝ }
Equations
Instances For
Equations
- Lean.Lsp.instFromJsonReferenceContext = { fromJson? := Lean.Lsp.fromJsonReferenceContext✝ }
Equations
- textDocument : Lean.Lsp.TextDocumentIdentifier
- position : Lean.Lsp.Position
- context : Lean.Lsp.ReferenceContext
Instances For
Equations
- Lean.Lsp.instFromJsonReferenceParams = { fromJson? := Lean.Lsp.fromJsonReferenceParams✝ }
Equations
Instances For
- text: Lean.Lsp.DocumentHighlightKind
- read: Lean.Lsp.DocumentHighlightKind
- write: Lean.Lsp.DocumentHighlightKind
Instances For
Equations
- One or more equations did not get rendered due to their size.
- range : Lean.Lsp.Range
- kind? : Option Lean.Lsp.DocumentHighlightKind
Instances For
@[reducible, inline]
Instances For
- textDocument : Lean.Lsp.TextDocumentIdentifier
Instances For
- file: Lean.Lsp.SymbolKind
- module: Lean.Lsp.SymbolKind
- namespace: Lean.Lsp.SymbolKind
- package: Lean.Lsp.SymbolKind
- class: Lean.Lsp.SymbolKind
- method: Lean.Lsp.SymbolKind
- property: Lean.Lsp.SymbolKind
- field: Lean.Lsp.SymbolKind
- constructor: Lean.Lsp.SymbolKind
- enum: Lean.Lsp.SymbolKind
- interface: Lean.Lsp.SymbolKind
- function: Lean.Lsp.SymbolKind
- variable: Lean.Lsp.SymbolKind
- constant: Lean.Lsp.SymbolKind
- string: Lean.Lsp.SymbolKind
- number: Lean.Lsp.SymbolKind
- boolean: Lean.Lsp.SymbolKind
- array: Lean.Lsp.SymbolKind
- object: Lean.Lsp.SymbolKind
- key: Lean.Lsp.SymbolKind
- null: Lean.Lsp.SymbolKind
- enumMember: Lean.Lsp.SymbolKind
- struct: Lean.Lsp.SymbolKind
- event: Lean.Lsp.SymbolKind
- operator: Lean.Lsp.SymbolKind
- typeParameter: Lean.Lsp.SymbolKind
Instances For
Equations
- Lean.Lsp.instBEqSymbolKind = { beq := Lean.Lsp.beqSymbolKind✝ }
Equations
- Lean.Lsp.instHashableSymbolKind = { hash := Lean.Lsp.hashSymbolKind✝ }
Equations
- Lean.Lsp.instInhabitedSymbolKind = { default := Lean.Lsp.SymbolKind.file }
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
- name : String
- kind : Lean.Lsp.SymbolKind
- range : Lean.Lsp.Range
- selectionRange : Lean.Lsp.Range
Instances For
instance
Lean.Lsp.instFromJsonDocumentSymbolAux :
{Self : Type} → [inst : Lean.FromJson Self] → Lean.FromJson (Lean.Lsp.DocumentSymbolAux Self)
Equations
- Lean.Lsp.instFromJsonDocumentSymbolAux = { fromJson? := Lean.Lsp.fromJsonDocumentSymbolAux✝ }
instance
Lean.Lsp.instToJsonDocumentSymbolAux :
{Self : Type} → [inst : Lean.ToJson Self] → Lean.ToJson (Lean.Lsp.DocumentSymbolAux Self)
Equations
- Lean.Lsp.instToJsonDocumentSymbolAux = { toJson := Lean.Lsp.toJsonDocumentSymbolAux✝ }
Instances For
Equations
- syms : Array Lean.Lsp.DocumentSymbol
Instances For
Equations
- Lean.Lsp.instToJsonDocumentSymbolResult = { toJson := fun (dsr : Lean.Lsp.DocumentSymbolResult) => Lean.toJson dsr.syms }
Equations
- Lean.Lsp.instBEqSymbolTag = { beq := Lean.Lsp.beqSymbolTag✝ }
Equations
- Lean.Lsp.instHashableSymbolTag = { hash := Lean.Lsp.hashSymbolTag✝ }
Equations
- Lean.Lsp.instInhabitedSymbolTag = { default := Lean.Lsp.SymbolTag.deprecated }
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Lsp.instToJsonSymbolTag = { toJson := fun (x : Lean.Lsp.SymbolTag) => match x with | Lean.Lsp.SymbolTag.deprecated => 1 }
- name : String
- kind : Lean.Lsp.SymbolKind
- location : Lean.Lsp.Location
Instances For
Equations
- Lean.Lsp.instFromJsonSymbolInformation = { fromJson? := Lean.Lsp.fromJsonSymbolInformation✝ }
Instances For
- name : String
- kind : Lean.Lsp.SymbolKind
- uri : Lean.Lsp.DocumentUri
- range : Lean.Lsp.Range
- selectionRange : Lean.Lsp.Range
Instances For
Equations
- Lean.Lsp.instFromJsonCallHierarchyItem = { fromJson? := Lean.Lsp.fromJsonCallHierarchyItem✝ }
Equations
Equations
- One or more equations did not get rendered due to their size.
- item : Lean.Lsp.CallHierarchyItem
Instances For
- from : Lean.Lsp.CallHierarchyItem
- fromRanges : Array Lean.Lsp.Range
Instances For
Equations
- Lean.Lsp.instInhabitedCallHierarchyIncomingCall = { default := { «from» := default, fromRanges := default } }
- item : Lean.Lsp.CallHierarchyItem
Instances For
- fromRanges : Array Lean.Lsp.Range
Instances For
Equations
- Lean.Lsp.instInhabitedCallHierarchyOutgoingCall = { default := { to := default, fromRanges := default } }
- keyword: Lean.Lsp.SemanticTokenType
- variable: Lean.Lsp.SemanticTokenType
- property: Lean.Lsp.SemanticTokenType
- function: Lean.Lsp.SemanticTokenType
- namespace: Lean.Lsp.SemanticTokenType
- type: Lean.Lsp.SemanticTokenType
- class: Lean.Lsp.SemanticTokenType
- enum: Lean.Lsp.SemanticTokenType
- interface: Lean.Lsp.SemanticTokenType
- struct: Lean.Lsp.SemanticTokenType
- typeParameter: Lean.Lsp.SemanticTokenType
- parameter: Lean.Lsp.SemanticTokenType
- enumMember: Lean.Lsp.SemanticTokenType
- event: Lean.Lsp.SemanticTokenType
- method: Lean.Lsp.SemanticTokenType
- macro: Lean.Lsp.SemanticTokenType
- modifier: Lean.Lsp.SemanticTokenType
- comment: Lean.Lsp.SemanticTokenType
- string: Lean.Lsp.SemanticTokenType
- number: Lean.Lsp.SemanticTokenType
- regexp: Lean.Lsp.SemanticTokenType
- operator: Lean.Lsp.SemanticTokenType
- decorator: Lean.Lsp.SemanticTokenType
- leanSorryLike: Lean.Lsp.SemanticTokenType
Instances For
Equations
- Lean.Lsp.instFromJsonSemanticTokenType = { fromJson? := Lean.Lsp.fromJsonSemanticTokenType✝ }
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- tokenType.toNat = tokenType.toCtorIdx
Instances For
The semantic token modifiers included by default in the LSP specification. Not used by the Lean core, but implementing them here allows them to be utilized by users extending the Lean server.
- declaration: Lean.Lsp.SemanticTokenModifier
- definition: Lean.Lsp.SemanticTokenModifier
- readonly: Lean.Lsp.SemanticTokenModifier
- static: Lean.Lsp.SemanticTokenModifier
- deprecated: Lean.Lsp.SemanticTokenModifier
- abstract: Lean.Lsp.SemanticTokenModifier
- async: Lean.Lsp.SemanticTokenModifier
- modification: Lean.Lsp.SemanticTokenModifier
- documentation: Lean.Lsp.SemanticTokenModifier
- defaultLibrary: Lean.Lsp.SemanticTokenModifier
Instances For
Equations
- Lean.Lsp.SemanticTokenModifier.names = #["declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary"]
Instances For
Equations
- modifier.toNat = modifier.toCtorIdx
Instances For
- legend : Lean.Lsp.SemanticTokensLegend
- range : Bool
- full : Bool
Instances For
- textDocument : Lean.Lsp.TextDocumentIdentifier
Instances For
- textDocument : Lean.Lsp.TextDocumentIdentifier
- range : Lean.Lsp.Range
Instances For
Equations
- Lean.Lsp.instFromJsonSemanticTokens = { fromJson? := Lean.Lsp.fromJsonSemanticTokens✝ }
Equations
- Lean.Lsp.instToJsonSemanticTokens = { toJson := Lean.Lsp.toJsonSemanticTokens✝ }
- textDocument : Lean.Lsp.TextDocumentIdentifier
Instances For
- comment: Lean.Lsp.FoldingRangeKind
- imports: Lean.Lsp.FoldingRangeKind
- region: Lean.Lsp.FoldingRangeKind
Instances For
Equations
- One or more equations did not get rendered due to their size.
- startLine : Nat
- endLine : Nat
- kind? : Option Lean.Lsp.FoldingRangeKind
Instances For
Equations
- Lean.Lsp.instToJsonFoldingRange = { toJson := Lean.Lsp.toJsonFoldingRange✝ }
Equations
- Lean.Lsp.instFromJsonRenameOptions = { fromJson? := Lean.Lsp.fromJsonRenameOptions✝ }
Equations
- Lean.Lsp.instToJsonRenameOptions = { toJson := Lean.Lsp.toJsonRenameOptions✝ }
- textDocument : Lean.Lsp.TextDocumentIdentifier
- position : Lean.Lsp.Position
- newName : String
Instances For
Equations
- Lean.Lsp.instFromJsonRenameParams = { fromJson? := Lean.Lsp.fromJsonRenameParams✝ }
Equations
- Lean.Lsp.instToJsonRenameParams = { toJson := Lean.Lsp.toJsonRenameParams✝ }