Index of values


D
default_classes [Higlo]
Default X(HTML) classes.

G
get_lexer [Higlo]
get_lexer lang returns the lexer registered for the given language lang or raises Higlo.Unknown_lang if no such language was registered.

P
parse [Higlo]
parse ~lang code gets the lexer associated to lang and uses it to build a list of tokens.

R
register_lang [Higlo]
If a lexer was registered for the same language, it is not available any more.

S
string_of_token [Higlo]
For debug printing.

T
to_xtmpl [Higlo]
to_xtmpl ~lang code gets the lexer associated to the language lang, uses it to retrieve a list of tokens (using the Higlo.parse function) and maps these tokens to XML nodes.
token_to_xtmpl [Higlo]
Map a token to an XML tree (just a <span class="...">code</span> node).