Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Functions | Variables
pip._vendor.pygments.modeline Namespace Reference

Functions

 get_filetype_from_line (l)
 
 get_filetype_from_buffer (buf, max_lines=5)
 

Variables

 modeline_re = re.compile(, re.VERBOSE)
 

Detailed Description

    pygments.modeline
    ~~~~~~~~~~~~~~~~~

    A simple modeline parser (based on pymodeline).

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.

Function Documentation

◆ get_filetype_from_buffer()

pip._vendor.pygments.modeline.get_filetype_from_buffer (   buf,
  max_lines = 5 
)
Scan the buffer for modelines and return filetype if one is found.