Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
pip._vendor.pygments.formatters.groff.GroffFormatter Class Reference
Inheritance diagram for pip._vendor.pygments.formatters.groff.GroffFormatter:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.pygments.formatters.groff.GroffFormatter:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, **options)
 
 format_unencoded (self, tokensource, outfile)
 
- Public Member Functions inherited from pip._vendor.pygments.formatter.Formatter
 get_style_defs (self, arg='')
 
 format (self, tokensource, outfile)
 

Public Attributes

 monospaced
 
 linenos
 
 wrap
 
 styles
 
- Public Attributes inherited from pip._vendor.pygments.formatter.Formatter
 style
 
 full
 
 title
 
 encoding
 
 options
 

Static Public Attributes

str name = 'groff'
 
list aliases = ['groff','troff','roff']
 
list filenames = []
 
- Static Public Attributes inherited from pip._vendor.pygments.formatter.Formatter
 name = None
 
list aliases = []
 
list filenames = []
 
bool unicodeoutput = True
 

Protected Member Functions

 _make_styles (self)
 
 _define_colors (self, outfile)
 
 _write_lineno (self, outfile)
 
 _wrap_line (self, line)
 
 _escape_chars (self, text)
 

Protected Attributes

 _lineno
 
 _linelen
 

Detailed Description

Format tokens with groff escapes to change their color and font style.

.. versionadded:: 2.11

Additional options accepted:

`style`
    The style to use, can be a string or a Style subclass (default:
    ``'default'``).

`monospaced`
    If set to true, monospace font will be used (default: ``true``).

`linenos`
    If set to true, print the line numbers (default: ``false``).

`wrap`
    Wrap lines to the specified number of characters. Disabled if set to 0
    (default: ``0``).

Constructor & Destructor Documentation

◆ __init__()

pip._vendor.pygments.formatters.groff.GroffFormatter.__init__ (   self,
**  options 
)
As with lexers, this constructor takes arbitrary optional arguments,
and if you override it, you should first process your own options, then
call the base class implementation.

Reimplemented from pip._vendor.pygments.formatter.Formatter.


The documentation for this class was generated from the following file: