highlight Namespace Reference


Classes

class  AnsiGenerator
 This class generates ANSI escape sequences. More...
class  CodeGenerator
 Base class for parsing. Works similar to a Turing machine. More...
class  ReGroup
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
class  LatexGenerator
 This class generates LaTeX. More...
class  PreFormatter
 Class which provides intelligent line wrapping. More...
struct  PageSize
 This class generates RTF. More...
class  RtfGenerator
class  StyleColour
 Stores colours and returns red, green and blue values in different formats. More...
class  TexGenerator
 This class generates TeX. More...
class  XHtmlGenerator
 This class generates XHTML. More...
class  XmlGenerator
 This class generates XML. More...
class  XslFoGenerator
 This class generates XSL-FO. More...

Typedefs

typedef map< string, ElementStyle * > KeywordStyles
typedef KeywordStyles::iterator KSIterator
typedef map< string, int > KeywordMap
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, TAG_BEGIN, TAG_END,
  KEYWORD_END, IDENTIFIER_BEGIN, IDENTIFIER_END, _UNKNOWN = 100,
  _EOL, _EOF, _WS
}
enum  ParseError { PARSE_OK, BAD_INPUT = 1, BAD_OUTPUT = 2, BAD_STYLE = 4 }
enum  WrapMode { WRAP_DISABLED, WRAP_SIMPLE, WRAP_DEFAULT }
enum  LoadResult { LOAD_FAILED, LOAD_NEW, LOAD_NONE }
enum  OutputType {
  HTML, XHTML, TEX, LATEX,
  RTF, XSLFO, XML, ANSI
}


Detailed Description

The highlight namespace contains all classes and data structures needed for parsing input data.


Typedef Documentation

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::iterator highlight::KSIterator

iterator for keyword styles


Enumeration Type Documentation

enum highlight::LoadResult

language definition loading results

enum highlight::OutputType

output formats

enum highlight::ParseError

Parser return values

enum highlight::State

states which may occour during input file parsing TODO Clean up!

enum highlight::WrapMode

line wrapping modes


Generated on Fri Apr 27 13:12:36 2007 for Highlight Code Converter by  doxygen 1.5.2