Equations
- Lean.Lsp.instFromJsonCompletionOptions = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonCompletionOptions = { toJson := [anonymous] }
- 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
Equations
- Lean.Lsp.instDecidableEqCompletionItemKind x y = if h : Lean.Lsp.CompletionItemKind.toCtorIdx x = Lean.Lsp.CompletionItemKind.toCtorIdx y then isTrue (_ : x = y) else isFalse (_ : x = y → False)
Equations
- Lean.Lsp.instReprCompletionItemKind = { reprPrec := [anonymous] }
Equations
- Lean.Lsp.instToJsonCompletionItemKind = { toJson := fun a => Lean.toJson (Lean.Lsp.CompletionItemKind.toCtorIdx a + 1) }
Equations
- Lean.Lsp.instFromJsonCompletionItemKind = { fromJson? := fun v => do let i ← Lean.fromJson? v pure (Lean.Lsp.CompletionItemKind.ofNat (i - 1)) }
- newText : String
- insert : Lean.Lsp.Range
- replace : Lean.Lsp.Range
Equations
- Lean.Lsp.instFromJsonInsertReplaceEdit = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonInsertReplaceEdit = { toJson := [anonymous] }
- label : String
- documentation? : Option Lean.Lsp.MarkupContent
- kind? : Option Lean.Lsp.CompletionItemKind
- textEdit? : Option Lean.Lsp.InsertReplaceEdit
Equations
- Lean.Lsp.instFromJsonCompletionItem = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonCompletionItem = { toJson := [anonymous] }
Equations
- Lean.Lsp.instInhabitedCompletionItem = { default := { label := default, detail? := default, documentation? := default, kind? := default, textEdit? := default } }
- isIncomplete : Bool
- items : Array Lean.Lsp.CompletionItem
Equations
- Lean.Lsp.instFromJsonCompletionList = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonCompletionList = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonCompletionParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonCompletionParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instToJsonHover = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonHover = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instFromJsonHoverParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonHoverParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonDeclarationParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonDeclarationParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonDefinitionParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonDefinitionParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonTypeDefinitionParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonTypeDefinitionParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonReferenceContext = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonReferenceContext = { toJson := [anonymous] }
- context : Lean.Lsp.ReferenceContext
Equations
- Lean.Lsp.instFromJsonReferenceParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonReferenceParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonWorkspaceSymbolParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonWorkspaceSymbolParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonDocumentHighlightParams = { fromJson? := [anonymous] }
Equations
- One or more equations did not get rendered due to their size.
- range : Lean.Lsp.Range
- kind? : Option Lean.Lsp.DocumentHighlightKind
Equations
- Lean.Lsp.instToJsonDocumentHighlight = { toJson := [anonymous] }
@[inline]
Equations
- Lean.Lsp.instFromJsonDocumentSymbolParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonDocumentSymbolParams = { toJson := [anonymous] }
- 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
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
instance
Lean.Lsp.instToJsonDocumentSymbolAux:
{Self : Type} → [inst : Lean.ToJson Self] → Lean.ToJson (Lean.Lsp.DocumentSymbolAux Self)
Equations
- Lean.Lsp.instToJsonDocumentSymbolAux = { toJson := [anonymous] }
Equations
Equations
- Lean.Lsp.instToJsonDocumentSymbolResult = { toJson := fun dsr => Lean.toJson dsr.syms }
Equations
- Lean.Lsp.instToJsonSymbolTag = { toJson := fun x => match x with | Lean.Lsp.SymbolTag.deprecated => 1 }
- name : String
- kind : Lean.Lsp.SymbolKind
- location : Lean.Lsp.Location
Equations
- Lean.Lsp.instToJsonSymbolInformation = { toJson := [anonymous] }
- keyword: Lean.Lsp.SemanticTokenType
- variable: Lean.Lsp.SemanticTokenType
- property: Lean.Lsp.SemanticTokenType
- function: Lean.Lsp.SemanticTokenType
Equations
- Lean.Lsp.SemanticTokenType.names = #["keyword", "variable", "property", "function"]
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Lsp.instFromJsonSemanticTokensLegend = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonSemanticTokensLegend = { toJson := [anonymous] }
- legend : Lean.Lsp.SemanticTokensLegend
- range : Bool
- full : Bool
Equations
- Lean.Lsp.instFromJsonSemanticTokensOptions = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonSemanticTokensOptions = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonSemanticTokensParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonSemanticTokensParams = { toJson := [anonymous] }
- textDocument : Lean.Lsp.TextDocumentIdentifier
- range : Lean.Lsp.Range
Equations
- Lean.Lsp.instFromJsonSemanticTokens = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonSemanticTokens = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonFoldingRangeParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonFoldingRangeParams = { toJson := [anonymous] }
- comment: Lean.Lsp.FoldingRangeKind
- imports: Lean.Lsp.FoldingRangeKind
- region: Lean.Lsp.FoldingRangeKind
Equations
- One or more equations did not get rendered due to their size.
- startLine : Nat
- endLine : Nat
- kind? : Option Lean.Lsp.FoldingRangeKind
Equations
- Lean.Lsp.instToJsonFoldingRange = { toJson := [anonymous] }