⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
pygments
/
__pycache__
/
View File Name :
filter.cpython-310.pyc
o a @ s8 d Z d ddZdd ZG dd dZG dd d eZdS )z pygments.filter ~~~~~~~~~~~~~~~ Module that implements the default filter. :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. Nc s$ fdd}|D ]}||| } q| S )z 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`. c 3 s | |E d H d S N)filter)filter_streamlexer 1/usr/lib/python3/dist-packages/pygments/filter.py_apply s zapply_filters.
._applyr )r filtersr r r r r r apply_filters s r c C s t | jtft| d| j| dS )z Decorator that converts a function into a filter:: @simplefilter def lowercase(self, lexer, stream, options): for ttype, value in stream: yield ttype, value.lower() __module__)r __doc__function)type__name__FunctionFiltergetattrr )fr r r simplefilter s r c @ s e Zd ZdZdd Zdd ZdS )Filterzl Default filter. Subclass this class or use the `simplefilter` decorator to create own filters. c K s || _ d S r )optionsselfr r r r __init__/ s zFilter.__init__c C s t r )NotImplementedErrorr r r r r r r 2 s z Filter.filterN)r r __qualname__r r r r r r r r ) s r c @ s$ e Zd ZdZdZdd Zdd ZdS )r z Abstract class used by `simplefilter` to create simple function filters on the fly. The `simplefilter` decorator automatically creates subclasses of this class for functions passed to it. Nc K s0 t | ds td| jj tj| fi | d S )Nr z%r used without bound function)hasattr TypeError __class__r r r r r r r r ? s zFunctionFilter.__init__c c s | ||| jE d H d S r )r r r r r r r E s zFunctionFilter.filter)r r r r r r r r r r r r 6 s r r )r r r r r r r r r
s