module documentation

Other formatters: NullFormatter, RawTokenFormatter.

Unknown Field: copyright
Copyright 2006-2021 by the Pygments team, see AUTHORS.
Unknown Field: license
BSD, see LICENSE for details.
Constant TESTCASE​_AFTER Undocumented
Constant TESTCASE​_BEFORE Undocumented
Class ​Null​Formatter Output the text unchanged without any formatting.
Class ​Raw​Token​Formatter Format tokens as a raw representation for storing token streams.
Class ​Testcase​Formatter Format tokens as appropriate for a new testcase.
TESTCASE_AFTER: str =

Undocumented

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

Undocumented

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