File: .lake/packages/lean4/src/lean/Lean/DeclarationRange.lean

full_name: Lean.instInhabitedDeclarationRange
code: /-- Store position information for declarations. -/
structure DeclarationRange where
  pos          : Position
  /-- A precomputed UTF-16 `character` field as in `Lean.Lsp.Position`. We need to store this
  because LSP clients want us to report the range in terms of UTF-16, but converting a Unicode
  codepoint stored in `Lean.Position` to UTF-16 requires loading and mapping the target source
  file, which is IO-heavy. -/
  charUtf16    : Nat
  endPos       : Position
  /-- See `charUtf16`. -/
  endCharUtf16 : Nat
  deriving Inhabited, DecidableEq, Repr
goal: Inhabited Lean.DeclarationRange

full_name: Lean.DeclarationRange.pos
code: /-- Store position information for declarations. -/
structure DeclarationRange where
  pos          : Position
  /-- A precomputed UTF-16 `character` field as in `Lean.Lsp.Position`. We need to store this
  because LSP clients want us to report the range in terms of UTF-16, but converting a Unicode
  codepoint stored in `Lean.Position` to UTF-16 requires loading and mapping the target source
  file, which is IO-heavy. -/
  charUtf16    : Nat
  endPos       : Position
  /-- See `charUtf16`. -/
  endCharUtf16 : Nat
  deriving Inhabited, DecidableEq, Repr
goal: Lean.Position

full_name: Lean.DeclarationRange.endCharUtf16
code: /-- Store position information for declarations. -/
structure DeclarationRange where
  pos          : Position
  /-- A precomputed UTF-16 `character` field as in `Lean.Lsp.Position`. We need to store this
  because LSP clients want us to report the range in terms of UTF-16, but converting a Unicode
  codepoint stored in `Lean.Position` to UTF-16 requires loading and mapping the target source
  file, which is IO-heavy. -/
  charUtf16    : Nat
  endPos       : Position
  /-- See `charUtf16`. -/
  endCharUtf16 : Nat
  deriving Inhabited, DecidableEq, Repr
goal: Nat

full_name: Lean.instReprDeclarationRange
code: /-- Store position information for declarations. -/
structure DeclarationRange where
  pos          : Position
  /-- A precomputed UTF-16 `character` field as in `Lean.Lsp.Position`. We need to store this
  because LSP clients want us to report the range in terms of UTF-16, but converting a Unicode
  codepoint stored in `Lean.Position` to UTF-16 requires loading and mapping the target source
  file, which is IO-heavy. -/
  charUtf16    : Nat
  endPos       : Position
  /-- See `charUtf16`. -/
  endCharUtf16 : Nat
  deriving Inhabited, DecidableEq, Repr
goal: Repr Lean.DeclarationRange

full_name: Lean.DeclarationRange
code: /-- Store position information for declarations. -/
structure DeclarationRange where
  pos          : Position
  /-- A precomputed UTF-16 `character` field as in `Lean.Lsp.Position`. We need to store this
  because LSP clients want us to report the range in terms of UTF-16, but converting a Unicode
  codepoint stored in `Lean.Position` to UTF-16 requires loading and mapping the target source
  file, which is IO-heavy. -/
  charUtf16    : Nat
  endPos       : Position
  /-- See `charUtf16`. -/
  endCharUtf16 : Nat
  deriving Inhabited, DecidableEq, Repr
goal: Type

full_name: Lean.DeclarationRange.charUtf16
code: /-- Store position information for declarations. -/
structure DeclarationRange where
  pos          : Position
  /-- A precomputed UTF-16 `character` field as in `Lean.Lsp.Position`. We need to store this
  because LSP clients want us to report the range in terms of UTF-16, but converting a Unicode
  codepoint stored in `Lean.Position` to UTF-16 requires loading and mapping the target source
  file, which is IO-heavy. -/
  charUtf16    : Nat
  endPos       : Position
  /-- See `charUtf16`. -/
  endCharUtf16 : Nat
  deriving Inhabited, DecidableEq, Repr
goal: Nat

full_name: Lean.DeclarationRange.endPos
code: /-- Store position information for declarations. -/
structure DeclarationRange where
  pos          : Position
  /-- A precomputed UTF-16 `character` field as in `Lean.Lsp.Position`. We need to store this
  because LSP clients want us to report the range in terms of UTF-16, but converting a Unicode
  codepoint stored in `Lean.Position` to UTF-16 requires loading and mapping the target source
  file, which is IO-heavy. -/
  charUtf16    : Nat
  endPos       : Position
  /-- See `charUtf16`. -/
  endCharUtf16 : Nat
  deriving Inhabited, DecidableEq, Repr
goal: Lean.Position

full_name: Lean.instToExprDeclarationRange
code: instance : ToExpr DeclarationRange 
goal: Lean.ToExpr Lean.DeclarationRange

full_name: Lean.DeclarationRanges.range
code: structure DeclarationRanges where
  range          : DeclarationRange
  selectionRange : DeclarationRange
  deriving Inhabited, Repr
goal: Lean.DeclarationRange

full_name: Lean.instReprDeclarationRanges
code: structure DeclarationRanges where
  range          : DeclarationRange
  selectionRange : DeclarationRange
  deriving Inhabited, Repr
goal: Repr Lean.DeclarationRanges

full_name: Lean.DeclarationRanges.selectionRange
code: structure DeclarationRanges where
  range          : DeclarationRange
  selectionRange : DeclarationRange
  deriving Inhabited, Repr
goal: Lean.DeclarationRange

full_name: Lean.DeclarationRanges
code: structure DeclarationRanges where
  range          : DeclarationRange
  selectionRange : DeclarationRange
  deriving Inhabited, Repr
goal: Type

full_name: Lean.instInhabitedDeclarationRanges
code: structure DeclarationRanges where
  range          : DeclarationRange
  selectionRange : DeclarationRange
  deriving Inhabited, Repr
goal: Inhabited Lean.DeclarationRanges

full_name: Lean.instToExprDeclarationRanges
code: instance : ToExpr DeclarationRanges 
goal: Lean.ToExpr Lean.DeclarationRanges

full_name: Lean.initFn._@..lake.packages.lean4.src.lean.Lean.DeclarationRange._hyg.565
code: builtin_initialize builtinDeclRanges : IO.Ref (NameMap DeclarationRanges) ← IO.mkRef {}
goal: IO (IO.Ref (Lean.NameMap Lean.DeclarationRanges))

full_name: Lean.builtinDeclRanges
code: builtin_initialize builtinDeclRanges : IO.Ref (NameMap DeclarationRanges) ← IO.mkRef {}
goal: IO.Ref (Lean.NameMap Lean.DeclarationRanges)

full_name: Lean.declRangeExt
code: builtin_initialize declRangeExt : MapDeclarationExtension DeclarationRanges ← mkMapDeclarationExtension
goal: Lean.MapDeclarationExtension Lean.DeclarationRanges

full_name: Lean.initFn._@..lake.packages.lean4.src.lean.Lean.DeclarationRange._hyg.607
code: builtin_initialize declRangeExt : MapDeclarationExtension DeclarationRanges ← mkMapDeclarationExtension
goal: IO (Lean.MapDeclarationExtension Lean.DeclarationRanges)

full_name: Lean.addBuiltinDeclarationRanges
code: def addBuiltinDeclarationRanges (declName : Name) (declRanges : DeclarationRanges) : IO Unit 
goal: IO Unit

full_name: Lean.addDeclarationRanges
code: def addDeclarationRanges [MonadEnv m] (declName : Name) (declRanges : DeclarationRanges) : m Unit 
goal: m Unit

full_name: Lean.findDeclarationRangesCore?
code: def findDeclarationRangesCore? [Monad m] [MonadEnv m] (declName : Name) : m (Option DeclarationRanges) 
goal: m (Option Lean.DeclarationRanges)

full_name: Lean.findDeclarationRanges?
code: def findDeclarationRanges? [Monad m] [MonadEnv m] [MonadLiftT BaseIO m] (declName : Name) : m (Option DeclarationRanges) 
goal: m (Option Lean.DeclarationRanges)