Module Expr Str ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Dict Str ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad BinOpMod Str NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assert CompareIn Str NameLoad decorator_list Call NameLoad FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Assign NameStore ListLoad Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Dict Str NameLoad Assert CompareIn Str NameLoad decorator_list FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr NameLoad TryFinally body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assert CompareEq NameLoad Str finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr NameLoad TryFinally body Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Assert CompareEq NameLoad Str finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assert CompareEq NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assert CompareEq NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assert CompareEq NameLoad Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assert NameLoad Str handlers ExceptHandler type NameLoad body Pass decorator_list
N/A N/A 
    test_highlighting
    ~~~~~~~~~~~~~~~~~

    Test the Pygments highlighting bridge.

    :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
 pygments.lexer RegexLexer pygments.token Text Name pygments.filters ErrorToken pygments.formatters.html HtmlFormatter sphinx.highlighting PygmentsBridge util with_app MyLexer N/A RegexLexer N/A N/A name testlexer N/A tokens N/A root N/A N/A a Name N/A b Text N/A MyFormatter N/A HtmlFormatter N/A format N/A N/A self tokensource outfile N/A N/A N/A tok tokensource N/A N/A N/A N/A outfile write N/A tok N/A 1 N/A N/A ComplainOnUnhighlighted N/A PygmentsBridge N/A unhighlighted N/A N/A self source N/A N/A N/A N/A AssertionError N/A should highlight %r source N/A N/A test_add_lexer N/A N/A app status warning N/A N/A N/A N/A N/A app add_lexer test N/A MyLexer N/A bridge N/A PygmentsBridge html N/A ret N/A N/A bridge highlight_block ab test N/A N/A <span class="n">a</span>b ret N/A N/A with_app test_detect_interactive N/A N/A N/A N/A N/A bridge N/A ComplainOnUnhighlighted html N/A blocks N/A 
        >>> testing()
        True
         N/A block blocks N/A N/A ret N/A N/A bridge highlight_block N/A N/A block lstrip python N/A N/A N/A ret startswith <div class="highlight"> N/A test_lexer_options N/A N/A N/A N/A N/A bridge N/A PygmentsBridge html N/A ret N/A N/A bridge highlight_block //comment php opts N/A startinline True N/A N/A <span class="c1">//comment</span> ret N/A test_set_formatter N/A N/A N/A N/A N/A N/A PygmentsBridge html_formatter MyFormatter N/A N/A N/A bridge N/A PygmentsBridge html N/A ret N/A N/A bridge highlight_block foo
 python N/A N/A ret foo
 N/A N/A N/A PygmentsBridge html_formatter HtmlFormatter N/A test_trim_doctest_flags N/A N/A N/A N/A N/A N/A PygmentsBridge html_formatter MyFormatter N/A N/A N/A bridge N/A PygmentsBridge html trim_doctest_flags True N/A ret N/A N/A bridge highlight_block >>> 1+2 # doctest: SKIP
3
 pycon N/A N/A ret >>> 1+2 
3
 N/A N/A N/A PygmentsBridge html_formatter HtmlFormatter N/A test_default_highlight N/A N/A N/A N/A N/A bridge N/A PygmentsBridge html N/A ret N/A N/A bridge highlight_block print "Hello sphinx world" default N/A N/A ret <div class="highlight"><pre><span></span><span class="nb">print</span> <span class="s2">&quot;Hello sphinx world&quot;</span>
</pre></div>
 N/A ret N/A N/A bridge highlight_block reST ``like`` text default N/A N/A ret <div class="highlight"><pre><span></span>reST ``like`` text
</pre></div>
 N/A ret N/A N/A bridge highlight_block print "Hello sphinx world" python3 N/A N/A ret <div class="highlight"><pre><span></span><span class="nb">print</span> <span class="s2">&quot;Hello sphinx world&quot;</span>
</pre></div>
 N/A N/A N/A ret N/A N/A bridge highlight_block reST ``like`` text python3 N/A False highlight_block() does not raise any exceptions N/A N/A N/A ErrorToken N/A N/A N/A