File: Mathlib/Tactic/Widget/SelectInsertParamsClass.lean

full_name: SelectInsertParamsClass.goals
code: /-- Structures providing parameters for a Select and insert widget. -/
class SelectInsertParamsClass (α : Type) where
  /-- Cursor position in the file at which the widget is being displayed. -/
  pos : α → Lsp.Position
  /-- The current tactic-mode goals. -/
  goals : α → Array Widget.InteractiveGoal
  /-- Locations currently selected in the goal state. -/
  selectedLocations : α → Array SubExpr.GoalsLocation
  /-- The range in the source document where the command will be inserted. -/
  replaceRange : α → Lsp.Range
goal: α → Array Lean.Widget.InteractiveGoal

full_name: SelectInsertParamsClass
code: /-- Structures providing parameters for a Select and insert widget. -/
class SelectInsertParamsClass (α : Type) where
  /-- Cursor position in the file at which the widget is being displayed. -/
  pos : α → Lsp.Position
  /-- The current tactic-mode goals. -/
  goals : α → Array Widget.InteractiveGoal
  /-- Locations currently selected in the goal state. -/
  selectedLocations : α → Array SubExpr.GoalsLocation
  /-- The range in the source document where the command will be inserted. -/
  replaceRange : α → Lsp.Range
goal: Type

full_name: SelectInsertParamsClass.selectedLocations
code: /-- Structures providing parameters for a Select and insert widget. -/
class SelectInsertParamsClass (α : Type) where
  /-- Cursor position in the file at which the widget is being displayed. -/
  pos : α → Lsp.Position
  /-- The current tactic-mode goals. -/
  goals : α → Array Widget.InteractiveGoal
  /-- Locations currently selected in the goal state. -/
  selectedLocations : α → Array SubExpr.GoalsLocation
  /-- The range in the source document where the command will be inserted. -/
  replaceRange : α → Lsp.Range
goal: α → Array Lean.SubExpr.GoalsLocation

full_name: SelectInsertParamsClass.pos
code: /-- Structures providing parameters for a Select and insert widget. -/
class SelectInsertParamsClass (α : Type) where
  /-- Cursor position in the file at which the widget is being displayed. -/
  pos : α → Lsp.Position
  /-- The current tactic-mode goals. -/
  goals : α → Array Widget.InteractiveGoal
  /-- Locations currently selected in the goal state. -/
  selectedLocations : α → Array SubExpr.GoalsLocation
  /-- The range in the source document where the command will be inserted. -/
  replaceRange : α → Lsp.Range
goal: α → Lean.Lsp.Position

full_name: SelectInsertParamsClass.replaceRange
code: /-- Structures providing parameters for a Select and insert widget. -/
class SelectInsertParamsClass (α : Type) where
  /-- Cursor position in the file at which the widget is being displayed. -/
  pos : α → Lsp.Position
  /-- The current tactic-mode goals. -/
  goals : α → Array Widget.InteractiveGoal
  /-- Locations currently selected in the goal state. -/
  selectedLocations : α → Array SubExpr.GoalsLocation
  /-- The range in the source document where the command will be inserted. -/
  replaceRange : α → Lsp.Range
goal: α → Lean.Lsp.Range

full_name: _private.Mathlib.Tactic.Widget.SelectInsertParamsClass.0.Lean.Elab.mkSelectInsertParamsInstance
code: private def mkSelectInsertParamsInstance (declName : Name) : TermElabM Syntax.Command 
goal: Lean.Elab.TermElabM Lean.Command

full_name: Lean.Elab.mkSelectInsertParamsInstanceHandler
code: /-- Handler deriving a `SelectInsertParamsClass` instance. -/
def mkSelectInsertParamsInstanceHandler (declNames : Array Name) : CommandElabM Bool 
goal: Lean.Elab.Command.CommandElabM Bool

full_name: Lean.Elab.initFn._@.Mathlib.Tactic.Widget.SelectInsertParamsClass._hyg.580
code: initialize registerDerivingHandler `SelectInsertParamsClass mkSelectInsertParamsInstanceHandler
goal: IO Unit