File: .lake/packages/lean4/src/lean/Lean/Data/Lsp/TextSync.lean

full_name: Lean.Lsp.TextDocumentSyncKind.none
code: inductive TextDocumentSyncKind where
  | none
  | full
  | incremental
goal: Lean.Lsp.TextDocumentSyncKind

full_name: Lean.Lsp.TextDocumentSyncKind.incremental
code: inductive TextDocumentSyncKind where
  | none
  | full
  | incremental
goal: Lean.Lsp.TextDocumentSyncKind

full_name: Lean.Lsp.TextDocumentSyncKind
code: inductive TextDocumentSyncKind where
  | none
  | full
  | incremental
goal: Type

full_name: Lean.Lsp.TextDocumentSyncKind.full
code: inductive TextDocumentSyncKind where
  | none
  | full
  | incremental
goal: Lean.Lsp.TextDocumentSyncKind

full_name: Lean.Lsp.instFromJsonTextDocumentSyncKind
code: instance : FromJson TextDocumentSyncKind 
goal: Lean.FromJson Lean.Lsp.TextDocumentSyncKind

full_name: Lean.Lsp.instToJsonTextDocumentSyncKind
code: instance : ToJson TextDocumentSyncKind 
goal: Lean.ToJson Lean.Lsp.TextDocumentSyncKind

full_name: Lean.Lsp.DidOpenTextDocumentParams
code: structure DidOpenTextDocumentParams where
  textDocument : TextDocumentItem
  deriving ToJson, FromJson
goal: Type

full_name: Lean.Lsp.DidOpenTextDocumentParams.textDocument
code: structure DidOpenTextDocumentParams where
  textDocument : TextDocumentItem
  deriving ToJson, FromJson
goal: Lean.Lsp.TextDocumentItem

full_name: Lean.Lsp.instToJsonDidOpenTextDocumentParams
code: ToJson
goal: Lean.ToJson Lean.Lsp.DidOpenTextDocumentParams

full_name: Lean.Lsp.instFromJsonDidOpenTextDocumentParams
code: FromJson
goal: Lean.FromJson Lean.Lsp.DidOpenTextDocumentParams

full_name: Lean.Lsp.TextDocumentChangeRegistrationOptions.syncKind
code: structure TextDocumentChangeRegistrationOptions where
  documentSelector? : Option DocumentSelector := none
  syncKind          : TextDocumentSyncKind
  deriving FromJson
goal: Lean.Lsp.TextDocumentSyncKind

full_name: Lean.Lsp.TextDocumentChangeRegistrationOptions
code: structure TextDocumentChangeRegistrationOptions where
  documentSelector? : Option DocumentSelector := none
  syncKind          : TextDocumentSyncKind
  deriving FromJson
goal: Type

full_name: Lean.Lsp.TextDocumentChangeRegistrationOptions.documentSelector?
code: structure TextDocumentChangeRegistrationOptions where
  documentSelector? : Option DocumentSelector := none
  syncKind          : TextDocumentSyncKind
  deriving FromJson
goal: Option Lean.Lsp.DocumentSelector

full_name: Lean.Lsp.instFromJsonTextDocumentChangeRegistrationOptions
code: FromJson
goal: Lean.FromJson Lean.Lsp.TextDocumentChangeRegistrationOptions

full_name: Lean.Lsp.TextDocumentContentChangeEvent
code: inductive TextDocumentContentChangeEvent where
  -- omitted: deprecated rangeLength
  | rangeChange (range : Range) (text : String)
  | fullChange (text : String)
goal: Type

full_name: Lean.Lsp.TextDocumentContentChangeEvent.rangeChange
code: inductive TextDocumentContentChangeEvent where
  -- omitted: deprecated rangeLength
  | rangeChange (range : Range) (text : String)
  | fullChange (text : String)
goal: Lean.Lsp.TextDocumentContentChangeEvent

full_name: Lean.Lsp.TextDocumentContentChangeEvent.fullChange
code: inductive TextDocumentContentChangeEvent where
  -- omitted: deprecated rangeLength
  | rangeChange (range : Range) (text : String)
  | fullChange (text : String)
goal: Lean.Lsp.TextDocumentContentChangeEvent

full_name: Lean.Lsp.instFromJsonTextDocumentContentChangeEvent
code: instance : FromJson TextDocumentContentChangeEvent 
goal: Lean.FromJson Lean.Lsp.TextDocumentContentChangeEvent

full_name: Lean.Lsp.TextDocumentContentChangeEvent.hasToJson
code: instance TextDocumentContentChangeEvent.hasToJson : ToJson TextDocumentContentChangeEvent 
goal: Lean.ToJson Lean.Lsp.TextDocumentContentChangeEvent

full_name: Lean.Lsp.DidChangeTextDocumentParams
code: structure DidChangeTextDocumentParams where
  textDocument   : VersionedTextDocumentIdentifier
  contentChanges : Array TextDocumentContentChangeEvent
  deriving ToJson, FromJson
goal: Type

full_name: Lean.Lsp.DidChangeTextDocumentParams.contentChanges
code: structure DidChangeTextDocumentParams where
  textDocument   : VersionedTextDocumentIdentifier
  contentChanges : Array TextDocumentContentChangeEvent
  deriving ToJson, FromJson
goal: Array Lean.Lsp.TextDocumentContentChangeEvent

full_name: Lean.Lsp.DidChangeTextDocumentParams.textDocument
code: structure DidChangeTextDocumentParams where
  textDocument   : VersionedTextDocumentIdentifier
  contentChanges : Array TextDocumentContentChangeEvent
  deriving ToJson, FromJson
goal: Lean.Lsp.VersionedTextDocumentIdentifier

full_name: Lean.Lsp.instToJsonDidChangeTextDocumentParams
code: ToJson
goal: Lean.ToJson Lean.Lsp.DidChangeTextDocumentParams

full_name: Lean.Lsp.instFromJsonDidChangeTextDocumentParams
code: FromJson
goal: Lean.FromJson Lean.Lsp.DidChangeTextDocumentParams

full_name: Lean.Lsp.DidSaveTextDocumentParams.text?
code: structure DidSaveTextDocumentParams where
  textDocument : TextDocumentIdentifier
  text?        : Option String
  deriving ToJson, FromJson
goal: Option String

full_name: Lean.Lsp.DidSaveTextDocumentParams.textDocument
code: structure DidSaveTextDocumentParams where
  textDocument : TextDocumentIdentifier
  text?        : Option String
  deriving ToJson, FromJson
goal: Lean.Lsp.TextDocumentIdentifier

full_name: Lean.Lsp.DidSaveTextDocumentParams
code: structure DidSaveTextDocumentParams where
  textDocument : TextDocumentIdentifier
  text?        : Option String
  deriving ToJson, FromJson
goal: Type

full_name: Lean.Lsp.instToJsonDidSaveTextDocumentParams
code: ToJson
goal: Lean.ToJson Lean.Lsp.DidSaveTextDocumentParams

full_name: Lean.Lsp.instFromJsonDidSaveTextDocumentParams
code: FromJson
goal: Lean.FromJson Lean.Lsp.DidSaveTextDocumentParams

full_name: Lean.Lsp.SaveOptions.includeText
code: structure SaveOptions where
  includeText : Bool
  deriving ToJson, FromJson
goal: Bool

full_name: Lean.Lsp.SaveOptions
code: structure SaveOptions where
  includeText : Bool
  deriving ToJson, FromJson
goal: Type

full_name: Lean.Lsp.instToJsonSaveOptions
code: ToJson
goal: Lean.ToJson Lean.Lsp.SaveOptions

full_name: Lean.Lsp.instFromJsonSaveOptions
code: FromJson
goal: Lean.FromJson Lean.Lsp.SaveOptions

full_name: Lean.Lsp.DidCloseTextDocumentParams.textDocument
code: structure DidCloseTextDocumentParams where
  textDocument : TextDocumentIdentifier
  deriving ToJson, FromJson
goal: Lean.Lsp.TextDocumentIdentifier

full_name: Lean.Lsp.DidCloseTextDocumentParams
code: structure DidCloseTextDocumentParams where
  textDocument : TextDocumentIdentifier
  deriving ToJson, FromJson
goal: Type

full_name: Lean.Lsp.instToJsonDidCloseTextDocumentParams
code: ToJson
goal: Lean.ToJson Lean.Lsp.DidCloseTextDocumentParams

full_name: Lean.Lsp.instFromJsonDidCloseTextDocumentParams
code: FromJson
goal: Lean.FromJson Lean.Lsp.DidCloseTextDocumentParams

full_name: Lean.Lsp.TextDocumentSyncOptions
code: /-- NOTE: This is defined twice in the spec. The latter version has more fields. -/
structure TextDocumentSyncOptions where
  openClose         : Bool
  change            : TextDocumentSyncKind
  willSave          : Bool
  willSaveWaitUntil : Bool
  save?             : Option SaveOptions
  deriving ToJson, FromJson
goal: Type

full_name: Lean.Lsp.TextDocumentSyncOptions.change
code: /-- NOTE: This is defined twice in the spec. The latter version has more fields. -/
structure TextDocumentSyncOptions where
  openClose         : Bool
  change            : TextDocumentSyncKind
  willSave          : Bool
  willSaveWaitUntil : Bool
  save?             : Option SaveOptions
  deriving ToJson, FromJson
goal: Lean.Lsp.TextDocumentSyncKind

full_name: Lean.Lsp.TextDocumentSyncOptions.willSaveWaitUntil
code: /-- NOTE: This is defined twice in the spec. The latter version has more fields. -/
structure TextDocumentSyncOptions where
  openClose         : Bool
  change            : TextDocumentSyncKind
  willSave          : Bool
  willSaveWaitUntil : Bool
  save?             : Option SaveOptions
  deriving ToJson, FromJson
goal: Bool

full_name: Lean.Lsp.TextDocumentSyncOptions.save?
code: /-- NOTE: This is defined twice in the spec. The latter version has more fields. -/
structure TextDocumentSyncOptions where
  openClose         : Bool
  change            : TextDocumentSyncKind
  willSave          : Bool
  willSaveWaitUntil : Bool
  save?             : Option SaveOptions
  deriving ToJson, FromJson
goal: Option Lean.Lsp.SaveOptions

full_name: Lean.Lsp.TextDocumentSyncOptions.openClose
code: /-- NOTE: This is defined twice in the spec. The latter version has more fields. -/
structure TextDocumentSyncOptions where
  openClose         : Bool
  change            : TextDocumentSyncKind
  willSave          : Bool
  willSaveWaitUntil : Bool
  save?             : Option SaveOptions
  deriving ToJson, FromJson
goal: Bool

full_name: Lean.Lsp.TextDocumentSyncOptions.willSave
code: /-- NOTE: This is defined twice in the spec. The latter version has more fields. -/
structure TextDocumentSyncOptions where
  openClose         : Bool
  change            : TextDocumentSyncKind
  willSave          : Bool
  willSaveWaitUntil : Bool
  save?             : Option SaveOptions
  deriving ToJson, FromJson
goal: Bool

full_name: Lean.Lsp.instToJsonTextDocumentSyncOptions
code: ToJson
goal: Lean.ToJson Lean.Lsp.TextDocumentSyncOptions

full_name: Lean.Lsp.instFromJsonTextDocumentSyncOptions
code: FromJson
goal: Lean.FromJson Lean.Lsp.TextDocumentSyncOptions