Checks whether r contains hoverPos, taking into account EOF according to text.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- tree.foldSnaps init f = Task.map (fun (x : α × Bool) => x.fst) (Lean.Language.SnapshotTree.foldSnaps.traverseTree✝ f init tree) Task.Priority.default true
Instances For
Finds the first (in pre-order) snapshot task in tree that contains hoverPos
(including whitespace) and which contains an info tree, and then returns that info tree,
waiting for any snapshot tasks on the way.
Subtrees that do not contain the position are skipped without forcing their tasks.
If the caller of this function needs the correct snapshot when the cursor is on whitespace,
then this function is likely the wrong one to call, as it simply yields the first snapshot
that contains hoverPos in its whitespace, which is not necessarily the correct one
(e.g. it may be indentation-sensitive).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Finds the first CommandParsedSnapshot containing hoverPos, asynchronously.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Finds the command syntax and info tree of the first snapshot task containing pos, asynchronously.
The info tree may be from a nested snapshot, such as a single tactic.
See SnapshotTree.findInfoTreeAtPos for details on how the search is done.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Finds the info tree of the first snapshot task containing pos, asynchronously.
The info tree may be from a nested snapshot, such as a single tactic.
See SnapshotTree.findInfoTreeAtPos for details on how the search is done.
Equations
- One or more equations did not get rendered due to their size.