You can search for identifiers within the package.
in-package search v0.2.0
module T : sig ... end
type 'a symbol =
| T : 'a T.terminal -> 'a symbol
| N : 'a T.nonterminal -> 'a symbol
type xsymbol =
| X : 'a symbol -> xsymbol