Equations
- Lean.Lsp.instToJsonCompletionOptions = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonCompletionOptions = { fromJson? := [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
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
- detail? : Option String
- documentation? : Option Lean.Lsp.MarkupContent
- kind? : Option Lean.Lsp.CompletionItemKind
- textEdit? : Option Lean.Lsp.InsertReplaceEdit
Equations
- Lean.Lsp.instInhabitedCompletionItem = { default := { label := default, detail? := default, documentation? := default, kind? := default, textEdit? := default } }
Equations
- Lean.Lsp.instFromJsonCompletionItem = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonCompletionItem = { toJson := [anonymous] }
- isIncomplete : Bool
- items : Array Lean.Lsp.CompletionItem
Equations
- Lean.Lsp.instToJsonCompletionList = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonCompletionList = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonCompletionParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonCompletionParams = { fromJson? := [anonymous] }
- contents : Lean.Lsp.MarkupContent
- range? : Option Lean.Lsp.Range
Equations
- Lean.Lsp.instFromJsonHover = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonHover = { toJson := [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.instToJsonDefinitionParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonDefinitionParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonTypeDefinitionParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonTypeDefinitionParams = { fromJson? := [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.instToJsonWorkspaceSymbolParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonWorkspaceSymbolParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonDocumentHighlightParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonDocumentHighlightParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonDocumentHighlightKind = { toJson := fun x => match x with | Lean.Lsp.DocumentHighlightKind.text => 1 | Lean.Lsp.DocumentHighlightKind.read => 2 | Lean.Lsp.DocumentHighlightKind.write => 3 }
- range : Lean.Lsp.Range
- kind? : Option Lean.Lsp.DocumentHighlightKind
Equations
- Lean.Lsp.instToJsonDocumentHighlight = { toJson := [anonymous] }
@[inline]
- textDocument : Lean.Lsp.TextDocumentIdentifier
Equations
- Lean.Lsp.instToJsonDocumentSymbolParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonDocumentSymbolParams = { fromJson? := [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
- Lean.Lsp.instToJsonSymbolKind = { toJson := fun x => match x with | Lean.Lsp.SymbolKind.file => 1 | Lean.Lsp.SymbolKind.module => 2 | Lean.Lsp.SymbolKind.namespace => 3 | Lean.Lsp.SymbolKind.package => 4 | Lean.Lsp.SymbolKind.class => 5 | Lean.Lsp.SymbolKind.method => 6 | Lean.Lsp.SymbolKind.property => 7 | Lean.Lsp.SymbolKind.field => 8 | Lean.Lsp.SymbolKind.constructor => 9 | Lean.Lsp.SymbolKind.enum => 10 | Lean.Lsp.SymbolKind.interface => 11 | Lean.Lsp.SymbolKind.function => 12 | Lean.Lsp.SymbolKind.variable => 13 | Lean.Lsp.SymbolKind.constant => 14 | Lean.Lsp.SymbolKind.string => 15 | Lean.Lsp.SymbolKind.number => 16 | Lean.Lsp.SymbolKind.boolean => 17 | Lean.Lsp.SymbolKind.array => 18 | Lean.Lsp.SymbolKind.object => 19 | Lean.Lsp.SymbolKind.key => 20 | Lean.Lsp.SymbolKind.null => 21 | Lean.Lsp.SymbolKind.enumMember => 22 | Lean.Lsp.SymbolKind.struct => 23 | Lean.Lsp.SymbolKind.event => 24 | Lean.Lsp.SymbolKind.operator => 25 | Lean.Lsp.SymbolKind.typeParameter => 26 }
- name : String
- detail? : Option String
- kind : Lean.Lsp.SymbolKind
- range : Lean.Lsp.Range
- selectionRange : Lean.Lsp.Range
- children? : Option (Array Self)
instance
Lean.Lsp.instToJsonDocumentSymbolAux
:
{Self : Type} → [inst : Lean.ToJson Self] → Lean.ToJson (Lean.Lsp.DocumentSymbolAux Self)
Equations
- Lean.Lsp.instToJsonDocumentSymbolAux = { toJson := [anonymous] }
Equations
- Lean.Lsp.instToJsonDocumentSymbol = { toJson := (fun go => go) Lean.Lsp.instToJsonDocumentSymbol.go }
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
- tags : Array Lean.Lsp.SymbolTag
- location : Lean.Lsp.Location
- containerName? : Option String
Equations
- Lean.Lsp.instToJsonSymbolInformation = { toJson := [anonymous] }
- keyword: Lean.Lsp.SemanticTokenType
- variable: Lean.Lsp.SemanticTokenType
- property: Lean.Lsp.SemanticTokenType
Equations
- Lean.Lsp.SemanticTokenType.names = #["keyword", "variable", "property"]
Equations
- Lean.Lsp.SemanticTokenType.toNat x = match x with | Lean.Lsp.SemanticTokenType.keyword => 0 | Lean.Lsp.SemanticTokenType.variable => 1 | Lean.Lsp.SemanticTokenType.property => 2
Equations
- Lean.Lsp.instToJsonSemanticTokensLegend = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonSemanticTokensLegend = { fromJson? := [anonymous] }
- legend : Lean.Lsp.SemanticTokensLegend
- range : Bool
- full : Bool
Equations
- Lean.Lsp.instFromJsonSemanticTokensOptions = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonSemanticTokensOptions = { toJson := [anonymous] }
- textDocument : Lean.Lsp.TextDocumentIdentifier
Equations
- Lean.Lsp.instFromJsonSemanticTokensParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonSemanticTokensParams = { toJson := [anonymous] }
- textDocument : Lean.Lsp.TextDocumentIdentifier
- range : Lean.Lsp.Range
Equations
- Lean.Lsp.instFromJsonSemanticTokensRangeParams = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonSemanticTokensRangeParams = { toJson := [anonymous] }
Equations
- Lean.Lsp.instFromJsonSemanticTokens = { fromJson? := [anonymous] }
Equations
- Lean.Lsp.instToJsonSemanticTokens = { toJson := [anonymous] }