⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
pygments
/
__pycache__
/
View File Name :
scanner.cpython-312.pyc
g : d Z ddlZ G d de Z G d d Zy)a pygments.scanner ~~~~~~~~~~~~~~~~ This library implements a regex based scanner. Some languages like Pascal are easy to parse but have some keywords that depend on the context. Because of this it's impossible to lex that just by using a regular expression lexer like the `RegexLexer`. Have a look at the `DelphiLexer` to get an idea of how to use this scanner. :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. Nc e Zd ZdZy) EndOfTextzZ Raise if end of text is reached and the user tried to call a match function. N)__name__ __module____qualname____doc__ 2/usr/lib/python3/dist-packages/pygments/scanner.pyr r s r r c b e Zd ZdZd dZd Z eeej Zd Zd Zd Z d Z d Zy )Scannerzp Simple scanner All method patterns are regular expression strings (not compiled expressions!) c || _ t | | _ d| _ d| _ || _ d| _ d| _ i | _ y)z{ :param text: The text which should be scanned :param flags: default regular expression flags r N) datalendata_length start_posposflagslastmatch _re_cache)selftextr s r __init__zScanner.__init__# sA t9 r c 4 | j | j k\ S )z.`True` if the scanner reached the end of text.)r r r s r eoszScanner.eos1 s xx4++++r c | j r t || j vr-t j || j | j |<