Classes | |
class | AnsiGenerator |
This class generates ANSI escape sequences. More... | |
class | BBCodeGenerator |
This class generates BBCode. More... | |
class | ReGroup |
Regular Expession Information. More... | |
class | CodeGenerator |
Base class for parsing. Works like a finite state machine. More... | |
class | DocumentStyle |
Contains information about document formatting properties. More... | |
class | ElementStyle |
The class stores the basic text formatting properties. More... | |
class | HtmlGenerator |
This class generates HTML. More... | |
class | LanguageDefinition |
Contains specific data of the programming language being processed. More... | |
class | RegexElement |
Association of a regex with a state description. More... | |
struct | RegexDef |
Association of a regex and its relevant capturing group. More... | |
class | LatexGenerator |
This class generates LaTeX. More... | |
class | PreFormatter |
Class which provides intelligent line wrapping. More... | |
struct | PageSize |
class | RtfGenerator |
This class generates RTF. More... | |
struct | RGBVal |
Stores colours and returns red, green and blue values in different formats. More... | |
class | Colour |
class | SVGGenerator |
This class generates SVG. More... | |
class | TexGenerator |
This class generates TeX. More... | |
class | XHtmlGenerator |
This class generates XHTML. More... | |
class | XmlGenerator |
This class generates XML. More... | |
class | Xterm256Generator |
This class generates xterm 256 color escape sequences. More... | |
Typedefs | |
typedef map< string, ElementStyle > | KeywordStyles |
typedef KeywordStyles::const_iterator | KSIterator |
typedef map< string, int > | KeywordMap |
typedef map< string, string > | EmbedLangDelimMap |
typedef map< string, struct PageSize > | PagesizeMap |
Enumerations | |
enum | State { STANDARD = 0, STRING, NUMBER, SL_COMMENT, ML_COMMENT, ESC_CHAR, DIRECTIVE, DIRECTIVE_STRING, LINENUMBER, SYMBOL, KEYWORD, STRING_END, NUMBER_END, SL_COMMENT_END, ML_COMMENT_END, ESC_CHAR_END, DIRECTIVE_END, SYMBOL_END, KEYWORD_END, IDENTIFIER_BEGIN, IDENTIFIER_END, EMBEDDED_CODE_BEGIN, EMBEDDED_CODE_END, EMBEDDED_PERL_HACK, _UNKNOWN = 100, _EOL, _EOF, _WS } |
enum | ParseError { PARSE_OK, BAD_INPUT = 1, BAD_OUTPUT = 2, BAD_STYLE = 4, BAD_BINARY = 8 } |
enum | WrapMode { WRAP_DISABLED, WRAP_SIMPLE, WRAP_DEFAULT } |
enum | LoadResult { LOAD_FAILED, LOAD_FAILED_REGEX, LOAD_NEW, LOAD_NONE } |
enum | OutputType { HTML, XHTML, TEX, LATEX, RTF, XML, ANSI, XTERM256, HTML32, SVG, BBCODE } |
typedef map<string, string> highlight::EmbedLangDelimMap |
maps embedded langiage names to exit delimiter regexes
typedef map<string, int> highlight::KeywordMap |
maps keywords and the corresponding class IDs
typedef map<string, ElementStyle> highlight::KeywordStyles |
maps keyword class names and the corresponding formatting information
typedef KeywordStyles::const_iterator highlight::KSIterator |
iterator for keyword styles
typedef map<string, struct PageSize> highlight::PagesizeMap |
mapping of page size names and dimensions
language definition loading results
output formats
Parser return values
enum highlight::State |
states which may occour during input file parsing TODO Clean up!
enum highlight::WrapMode |
line wrapping modes