doc_colour.pl -- Source colouring support
Provide hierarchical colouring information on top of the library(prolog_colour). We need ordered hierarchical information to create HTML fragments.
- colour_fragments(+In, -Fragments:list) is det
- Create a list of colour fragments from In.
- include_fullstops(+FragmentsIn, -FragmentsOut) is det[private]
- Include fullstops into the term that preceeds them.
- fragment_hierarchy(+Fragments, -Hierarchy) is det[private]
- Translate list of
fragment(Start, End, Class)
intofragment(Start, End, Class, SubFragments)
.