ok
Direktori : /lib64/python3.6/lib2to3/pgen2/__pycache__/ |
Current File : //lib64/python3.6/lib2to3/pgen2/__pycache__/pgen.cpython-36.opt-1.pyc |
3 \�5 � @ sd d dl mZmZmZ G dd� dej�ZG dd� de�ZG dd� de�ZG dd � d e�Z ddd�Z d S )� )�grammar�token�tokenizec @ s e Zd ZdS )�PgenGrammarN)�__name__� __module__�__qualname__� r r �*/usr/lib64/python3.6/lib2to3/pgen2/pgen.pyr s r c @ s� e Zd Zd&dd�Zdd� Zdd� Zdd � Zd d� Zdd � Zdd� Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� Zdd� Zd'd d!�Zd"d#� Zd$d%� ZdS )(�ParserGeneratorNc C sl d }|d krt |�}|j}|| _|| _tj|j�| _| j� | j � \| _ | _|d k rZ|� i | _| j � d S )N)�open�close�filename�streamr �generate_tokens�readline� generator�gettoken�parse�dfas�startsymbol�first�addfirstsets)�selfr r Zclose_streamr r r �__init__ s zParserGenerator.__init__c C s* t � }t| jj� �}|j� |j| j� |jd| j� x.|D ]&}dt|j � }||j |<