module documentation

pygments.formatters.other ~~~~~~~~~~~~~~~~~~~~~~~~~ Other formatters: NullFormatter, RawTokenFormatter. :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details.

Class NullFormatter Output the text unchanged without any formatting.
Class RawTokenFormatter Format tokens as a raw representation for storing token streams.
Class TestcaseFormatter Format tokens as appropriate for a new testcase.
Constant TESTCASE_AFTER Undocumented
Constant TESTCASE_BEFORE Undocumented
TESTCASE_AFTER: str = (source)

Undocumented

Value
'''        ]
        assert list(lexer.get_tokens(fragment)) == tokens
'''
TESTCASE_BEFORE: str = (source)

Undocumented

Value
'''    def testNeedsName(lexer):
        fragment = %r
        tokens = [
'''