Documentation
Lean
.
Server
.
Completion
.
CompletionUtils
Search
return to top
source
Imports
Init.Prelude
Lean.Meta.WHNF
Imported by
String
.
charactersIn
String
.
charactersIn
.
go
Lean
.
Server
.
Completion
.
HoverInfo
Lean
.
Server
.
Completion
.
ContextualizedCompletionInfo
Lean
.
Server
.
Completion
.
minimizeGlobalIdentifierInContext
Lean
.
Server
.
Completion
.
minimizeGlobalIdentifierInContext
.
shortenIn
Lean
.
Server
.
Completion
.
unfoldDefinitionGuarded?
Lean
.
Server
.
Completion
.
getDotCompletionTypeNames
Lean
.
Server
.
Completion
.
getDotCompletionTypeNames
.
visit
source
def
String
.
charactersIn
(
a
b
:
String
)
:
Bool
Equations
Instances For
source
partial def
String
.
charactersIn
.
go
(
a
b
:
String
)
(
aPos
bPos
:
Pos
)
:
Bool
source
inductive
Lean
.
Server
.
Completion
.
HoverInfo
:
Type
after :
HoverInfo
inside
(
delta
:
Nat
)
:
HoverInfo
Instances For
source
structure
Lean
.
Server
.
Completion
.
ContextualizedCompletionInfo
:
Type
hoverInfo :
HoverInfo
ctx :
Elab.ContextInfo
info :
Elab.CompletionInfo
Instances For
source
def
Lean
.
Server
.
Completion
.
minimizeGlobalIdentifierInContext
(
currNamespace
:
Name
)
(
openDecls
:
List
OpenDecl
)
(
id
:
Name
)
:
Name
Equations
Instances For
source
partial def
Lean
.
Server
.
Completion
.
minimizeGlobalIdentifierInContext
.
shortenIn
(
id
contextNamespace
:
Name
)
:
Name
source
def
Lean
.
Server
.
Completion
.
unfoldDefinitionGuarded?
(
e
:
Expr
)
:
MetaM
(
Option
Expr
)
Equations
Instances For
source
def
Lean
.
Server
.
Completion
.
getDotCompletionTypeNames
(
type
:
Expr
)
:
MetaM
(
Array
Name
)
Equations
Instances For
source
partial def
Lean
.
Server
.
Completion
.
getDotCompletionTypeNames
.
visit
(
type
:
Expr
)
:
StateRefT'
IO.RealWorld
(
Array
Name
)
MetaM
Unit