pygments.lexers.special

Special lexers.

copyright:Copyright 2006-2013 by the Pygments team, see AUTHORS.
license:BSD, see LICENSE for details.
class pygments.lexers.special.TextLexer(**options)[source]

“Null” lexer, doesn’t highlight anything.

class pygments.lexers.special.RawTokenLexer(**options)[source]

Recreate a token stream formatted with the RawTokenFormatter. This lexer raises exceptions during parsing if the token stream in the file is malformed.

Additional options accepted:

compress
If set to "gz" or "bz2", decompress the token stream with the given compression algorithm before lexing (default: "").

Project Versions

This Page