Index of values
E
elem_t_of_sexp
[
Camlhighlight_core
]
elem_t_of_sexp__
[
Camlhighlight_core
]
F
from_string
[
Camlhighlight_parser
]
An invocation of
from_string ~lang source
will create a value of type
Camlhighlight_core.t
containing the syntax-highlighted version of the source-code in string format passed in the
source
parameter.
G
get_available_langs
[
Camlhighlight_parser
]
Returns a list of all languages for which syntax highlighting is available.
I
is_available_lang
[
Camlhighlight_parser
]
Returns a boolean indicating whether syntax highlighting is available for the given language.
L
lang_t_of_sexp
[
Camlhighlight_core
]
lang_t_of_sexp__
[
Camlhighlight_core
]
line_t_of_sexp
[
Camlhighlight_core
]
line_t_of_sexp__
[
Camlhighlight_core
]
N
normal_style_t_of_sexp
[
Camlhighlight_core
]
normal_style_t_of_sexp__
[
Camlhighlight_core
]
S
set_tabspaces
[
Camlhighlight_parser
]
Sets the number of spaces per TAB character.
sexp_of_elem_t
[
Camlhighlight_core
]
sexp_of_lang_t
[
Camlhighlight_core
]
sexp_of_line_t
[
Camlhighlight_core
]
sexp_of_normal_style_t
[
Camlhighlight_core
]
sexp_of_special_style_t
[
Camlhighlight_core
]
sexp_of_style_t
[
Camlhighlight_core
]
sexp_of_t
[
Camlhighlight_core
]
special_style_t_of_sexp
[
Camlhighlight_core
]
special_style_t_of_sexp__
[
Camlhighlight_core
]
style_t_of_sexp
[
Camlhighlight_core
]
style_t_of_sexp__
[
Camlhighlight_core
]
T
t_of_sexp
[
Camlhighlight_core
]
t_of_sexp__
[
Camlhighlight_core
]
W
write
[
Camlhighlight_write_xhtml
]
This function converts a value of type
Camlhighlight_core.t
containing a syntax-highlighted document into its Ocsigen's
XHTML.M
representation.