관리-도구
편집 파일: shlex.cpython-34.pyo
� j f- � @ s d Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d d g Z Gd d � d � Z d d d d � Z e j d e j � j Z d d � Z d d � Z e d k re e j � d k r� e e � � qe j d Z e e � � Z e e e e � � Wd QXn d S)z8A lexical analyzer class for simple shell-like syntaxes.� N)�deque)�StringIO�shlex�split�quotec @ s� e Z d Z d Z d d d d d � Z d d � Z d d d � Z d d � Z d d � Z d d � Z d d � Z d d d d � Z d d � Z d d � Z d S)r z8A lexical analyzer class for simple shell-like syntaxes.NFc C sA t | t � r t | � } n | d k r? | | _ | | _ n t j | _ d | _ | | _ | ro d | _ n d | _ d | _ d | _ | j r� | j d 7_ n d | _ d | _ d | _ d | _ d | _ d | _ t � | _ d | _ d | _ d | _ t � | _ d | _ | j r=t d | j | j f � n d S)N� �#Z?abcdfeghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_u| ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞz Fz'"�\�"� � r zshlex: reading from %s, line %d)� isinstance�strr �instream�infile�sys�stdin�posix�eof� commenters� wordchars� whitespace�whitespace_split�quotes�escape� escapedquotes�stater �pushback�lineno�debug�token� filestack�source�print)�selfr r r � r% �*/opt/alt/python34/lib64/python3.4/shlex.py�__init__ s<