![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Classes | |
| class | Filter |
| class | FunctionFilter |
Functions | |
| apply_filters (stream, filters, lexer=None) | |
| simplefilter (f) | |
pygments.filter
~~~~~~~~~~~~~~~
Module that implements the default filter.
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
| pygments.filter.apply_filters | ( | stream, | |
| filters, | |||
lexer = None |
|||
| ) |
Use this method to apply an iterable of filters to a stream. If lexer is given it's forwarded to the filter, otherwise the filter receives `None`.
| pygments.filter.simplefilter | ( | f | ) |
Decorator that converts a function into a filter::
@simplefilter
def lowercase(self, lexer, stream, options):
for ttype, value in stream:
yield ttype, value.lower()