dil.Highlighter

Members

Classes

Highlighter
class Highlighter

A token and syntax highlighter.

TagMap
class TagMap

Maps tokens to (format) strings.

TokenExBuilder
class TokenExBuilder

Builds an array of TokenEx items.

Functions

getShortClassName
string getShortClassName(Node node)

Returns the short class name of a class descending from Node.
E.g.: dil.ast.Declarations.ClassDecl -> Class

xml_escape
cstring xml_escape(cstring text)

Escapes '<', '>' and '&' with named HTML entities.

Structs

TokenEx
struct TokenEx

Extended token structure.

Meta

Authors

Aziz Köksal

License

GPL3 $(Maturity average)