Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val tokenize : 't. 't -> using:(module TOKENIZABLE with type t = 't) -> Tree.t
tokenize value ~using:(module M)
transforms value
to a list of tokens.
val format :
't. ?stylizer:Stylizer.t ->
?parentheses:(string * string) ->
't ->
using:(module TOKENIZABLE with type t = 't) ->
string
format ?stylizer value ~using:(module M)
transforms the value
into a pretty-printable string using the stylizer
if M
provides tokenization for the value
type.