Skip to main content

Module utils

Module utils 

Source

Functionsยง

collect_all_annotations
Collects all annotations in the document into a vector.
collect_footnote_definitions
Collects all footnote definitions from a document.
find_annotation_at_position
find_definition_at_position
find_definition_by_subject
find_definitions_by_subject
find_session_at_position
find_sessions_by_identifier
find_verbatim_at_position
Locate a verbatim block whose source range contains position. Walks the document tree under both the root session and any document-level annotations. Used by extension dispatch to identify the labelled verbatim under the cursor for hover / completion / code-action requests.
for_each_annotation
Visits every annotation in the document, invoking the callback for each.
for_each_text_content
Visits every text content node in the document, invoking the callback for each.
reference_at_position
session_identifier