Current Path: > > opt > alt > python34 > lib64 > python3.4 > > lib2to3 > pgen2 > __pycache__
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__init__.cpython-34.pyc | File | 174 bytes | April 17 2024 17:10:10. | |
__init__.cpython-34.pyo | File | 174 bytes | April 17 2024 17:10:10. | |
conv.cpython-34.pyc | File | 7865 bytes | April 17 2024 17:10:10. | |
conv.cpython-34.pyo | File | 6734 bytes | April 17 2024 17:10:06. | |
driver.cpython-34.pyc | File | 4691 bytes | April 17 2024 17:10:10. | |
driver.cpython-34.pyo | File | 4631 bytes | April 17 2024 17:10:06. | |
grammar.cpython-34.pyc | File | 5702 bytes | April 17 2024 17:10:10. | |
grammar.cpython-34.pyo | File | 5702 bytes | April 17 2024 17:10:10. | |
literals.cpython-34.pyc | File | 1767 bytes | April 17 2024 17:10:10. | |
literals.cpython-34.pyo | File | 1530 bytes | April 17 2024 17:10:06. | |
parse.cpython-34.pyc | File | 6734 bytes | April 17 2024 17:10:10. | |
parse.cpython-34.pyo | File | 6698 bytes | April 17 2024 17:10:06. | |
pgen.cpython-34.pyc | File | 11054 bytes | April 17 2024 17:10:10. | |
pgen.cpython-34.pyo | File | 10488 bytes | April 17 2024 17:10:06. | |
token.cpython-34.pyc | File | 1988 bytes | April 17 2024 17:10:10. | |
token.cpython-34.pyo | File | 1988 bytes | April 17 2024 17:10:10. | |
tokenize.cpython-34.pyc | File | 15314 bytes | April 17 2024 17:10:10. | |
tokenize.cpython-34.pyo | File | 15231 bytes | April 17 2024 17:10:06. |
� j f! � @ s� d Z d Z d d g Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z m Z m Z m Z m Z Gd d � d e � Z d d d d d d d � Z d d � Z d d � Z e d k r� e j e e � � � n d S)zZParser driver. This provides a high-level interface to parse a file into a syntax tree. z#Guido van Rossum <guido@python.org>�Driver�load_grammar� N� )�grammar�parse�token�tokenize�pgenc @ sp e Z d Z d d d d � Z d d d � Z d d d � Z d d d � Z d d d d � Z d d d � Z d S)r Nc C s: | | _ | d k r$ t j � } n | | _ | | _ d S)N)r �logging� getLogger�logger�convert)�selfr r r � r �9/opt/alt/python34/lib64/python3.4/lib2to3/pgen2/driver.py�__init__ s zDriver.__init__Fc C s@ t j | j | j � } | j � d } d } d } } } } } d } x�| D]�} | \ } } } } } | | | f k r | | f | k s� t | | f | f � � | \ } } | | k r� | d | | 7} | } d } n | | k r | | | | � 7} | } q n | t j t j f k rc| | 7} | \ } } | j d � rQ | d 7} d } qQ qQ n | t j k r�t j | } n | r�| j j d t j | | | � n | j | | | | f � r�| r�| j j d � n Pn d } | \ } } | j d � rQ | d 7} d } qQ qQ Wt j d | | | | f � � | j S) z4Parse a series of tokens and return the syntax tree.r r N� � z%s %r (prefix=%r)zStop.zincomplete input)r ZParserr r Zsetup�AssertionErrorr �COMMENT�NL�endswithr �OPZopmapr �debug�tok_nameZaddtokenZ ParseErrorZrootnode)r �tokensr �p�lineno�column�type�value�start�endZ line_text�prefixZ quintupleZs_linenoZs_columnr r r �parse_tokens&