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 : Lean.Lsp.CompletionItemKind.toCtorIdx x = Lean.Lsp.CompletionItemKind.toCtorIdx y then isTrue (_ : x = y) else isFalse (_ : x = y → False)
Equations
- Lean.Lsp.instReprCompletionItemKind = { reprPrec := Lean.Lsp.reprCompletionItemKind✝ }
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
Instances For
Equations
- Lean.Lsp.instFromJsonInsertReplaceEdit = { fromJson? := Lean.Lsp.fromJsonInsertReplaceEdit✝ }
- 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
- Lean.Lsp.instInhabitedCompletionItem = { default := { label := default, detail? := default, documentation? := default, kind? := default, textEdit? := default } }
- 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
@[inline, reducible]
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
- 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.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.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
Instances For
- 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
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
- 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
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.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Lsp.SemanticTokenModifier.toNat modifier = Lean.Lsp.SemanticTokenModifier.toCtorIdx modifier
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✝ }