OXIESEC PANEL
- Current Dir:
/
/
opt
/
gsutil
/
third_party
/
argcomplete
/
argcomplete
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/11/2025 08:19:49 AM
rwxr-xr-x
📄
__init__.cpython-39.pyc
785 bytes
02/11/2025 08:19:49 AM
rw-r--r--
📄
completers.cpython-39.pyc
4.96 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
exceptions.cpython-39.pyc
408 bytes
02/11/2025 08:19:49 AM
rw-r--r--
📄
finders.cpython-39.pyc
18.93 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
io.cpython-39.pyc
1.19 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
lexers.cpython-39.pyc
1.55 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
shell_integration.cpython-39.pyc
6.38 KB
02/11/2025 08:19:49 AM
rw-r--r--
Editing: lexers.cpython-39.pyc
Close
a �\gS � @ s: d dl Z ddlmZ ddlmZ ddlmZ ddd�ZdS ) � N� )�ArgcompleteException)�debug)�_shlexc s �d u rt | ��| d �� } tj| dd�� d� _tj�dd�� _g �� ��fdd�}z^� �� }|� j krxddd�d fW S � j �� �kr�td|dj � jd �� ||�W S ��|� W qT t�y td� jd j � jd �� � j �� �kr�|� j� Y S d}t|��Y qT0 qTd S )NT)�posixZ_ARGCOMPLETE_COMP_WORDBREAKS� c s� t | �� � j�� }t� jttf�r:� j� jv r:|d7 }|t | �kr\td� �� | � d} | d |� | |d � }}d}� jd ur�� j� j v r�� j}|||�� jfS )Nr zIn trailing whitespacer )�len�instream�tell� isinstance�state�str�bytes� whitespacer �append�quotes�last_wordbreak_pos)�wordZ point_in_word�prefix�suffixZprequote��lexer�point�words� �9/opt/gsutil/third_party/argcomplete/argcomplete/lexers.py� split_word s zsplit_line.<locals>.split_wordr zsplit, lexer state: '{s}')�sz#split (lexer stopped, state: '{s}')zcUnexpected internal state. Please report this bug at https://github.com/kislyuk/argcomplete/issues.)r r �shlex�whitespace_split�os�environ�getZ wordbreaks� get_token�eofr r r �formatr r � ValueError�tokenr )�liner r r �msgr r r � split_line s. �r* )N)r � exceptionsr �ior �packagesr r* r r r r �<module> s