%PDF- %PDF-
| Direktori : /opt/alt/python37/lib/python3.7/site-packages/jinja2/__pycache__/ |
| Current File : //opt/alt/python37/lib/python3.7/site-packages/jinja2/__pycache__/parser.cpython-37.pyc |
B
��Rr� � @ s� d Z ddlmZ ddlmZmZ ddlmZmZ ddl m
Z
mZ edddd d
ddd
ddg
�Z
eddddddg�ZG dd� de�ZdS )z�
jinja2.parser
~~~~~~~~~~~~~
Implements the template parser.
:copyright: (c) 2010 by the Jinja Team.
:license: BSD, see LICENSE for more details.
� )�nodes)�TemplateSyntaxError�TemplateAssertionError)�describe_token�describe_token_expr)�next�imap�for�if�blockZextends�printZmacroZinclude�from�import�set�eq�ne�ltZlteq�gtZgteqc @ s� e Zd ZdZdmdd�Zdefdd�Zdd� Zdnd d
�Zdodd�Z dpd
d�Z
dqdd�Zdd� Zdrdd�Z
dd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� Zd,d-� Zd.d/� Zd0d1� Zdsd3d4�Zdtd5d6�Zd7d8� Zd9d:� Zd;d<� Z d=d>� Z!d?d@� Z"dAdB� Z#dCdD� Z$dEdF� Z%dGdH� Z&dIdJ� Z'dKdL� Z(dMdN� Z)dOdP� Z*dudQdR�Z+dSdT� Z,dvdUdV�Z-dWdX� Z.dYdZ� Z/d[d\� Z0d]d^� Z1d_d`� Z2dadb� Z3dcdd� Z4dwdedf�Z5dgdh� Z6dxdidj�Z7dkdl� Z8dS )y�Parserz�This is the central parsing class Jinja2 uses. It's passed to
extensions and can be used to parse expressions or statements.
Nc C st || _ |�||||�| _|| _|| _d| _i | _x,|�� D ] }x|jD ]}|j | j|<