jon.recoil.org

Module Docstrings.WithMenhir

Fetch the item documentation for the current symbol. This also marks this documentation (for ambiguity warnings).

Fetch the item documentation for the symbols between two positions. This also marks this documentation (for ambiguity warnings).

val mark_symbol_docs : (Stdlib.Lexing.position * Stdlib.Lexing.position) -> unit

Mark the item documentation for the current symbol (for ambiguity warnings).

val mark_rhs_docs : Stdlib.Lexing.position -> Stdlib.Lexing.position -> unit

Mark as associated the item documentation for the symbols between two positions (for ambiguity warnings)

Fetch the field info for the current symbol.

Fetch the field info following the symbol at a given position.

Fetch the text preceding the current symbol.

Fetch the text preceding the symbol at the given position.

Extra text

There may be additional text attached to the delimiters of a block (e.g. struct and end). This is fetched by the following functions, which are applied to the contents of the block rather than the delimiters.

Fetch additional text preceding the current symbol

val symbol_post_extra_text : Stdlib.Lexing.position -> Ocaml_parsing.Docstrings.text

Fetch additional text following the current symbol

Fetch additional text preceding the symbol at the given position

val rhs_post_extra_text : Stdlib.Lexing.position -> Ocaml_parsing.Docstrings.text

Fetch additional text following the symbol at the given position

val rhs_post_text : Stdlib.Lexing.position -> Ocaml_parsing.Docstrings.text

Fetch text following the symbol at the given position