ok
Direktori : /opt/cloudlinux/venv/lib/python3.11/site-packages/jinja2/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/jinja2/__pycache__/environment.cpython-311.pyc |
� �܋f7� � � � d Z ddlZddlZddlZddlZddlZddlmZ ddlm Z ddlm Z ddlmZ ddlm Z ddlmZ d d lmZ d dlmZ d dlmZ d d lmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlm Z d dlm!Z! d dlm"Z" d dlm#Z# d dlm$Z$ d dlm%Z% d dl&m'Z' d dl&m(Z( d dl&m)Z) d d l&m*Z* d d!l&m+Z+ d d"l,m-Z- d d#l,m.Z. d d$l,m/Z/ d d%lm0Z0 d d&l1m2Z2 d d'l3m4Z4 d d(l3m5Z5 d d)l3m6Z6 d d*l7m8Z8 d d+l7m9Z9 d d,l7m:Z: d d-l7m;Z; d d.l7m<Z< d d/l7m=Z= d d0l7m>Z> ej? rddl@ZAd d1lBmCZC d d2lDmEZE d d3lFmGZG ejH d4d5�6� � ZI e d7�8� � d9ejJ eI d:ejK d;eIfd<�� � ZLd=eMd;ejN ejO ejP ejQ eRf d>f fd?�ZSd@ejN ejO d;ejN ejO ejP ejQ eRf d>f fdA�ZTdBd5dCejU ejV eRejJ dD f d;ejW eRdDf fdE�ZXdOdF�ZY G dG� d5� � ZZ G dH� d>� � Z[ G dI� dJ� � Z\ G dK� dL� � Z] G dM� dN� � Z^e[eZ__ dS )PzKClasses for managing templates and their runtime and compile time options. � N)�ChainMap)� lru_cache)�partial)�reduce)�CodeType)�Markup� )�nodes)� CodeGenerator)�generate)�BLOCK_END_STRING)�BLOCK_START_STRING)�COMMENT_END_STRING)�COMMENT_START_STRING)�DEFAULT_FILTERS)�DEFAULT_NAMESPACE)�DEFAULT_POLICIES)� DEFAULT_TESTS)�KEEP_TRAILING_NEWLINE)�LINE_COMMENT_PREFIX)�LINE_STATEMENT_PREFIX)� LSTRIP_BLOCKS)�NEWLINE_SEQUENCE)�TRIM_BLOCKS)�VARIABLE_END_STRING)�VARIABLE_START_STRING)�TemplateNotFound)�TemplateRuntimeError)�TemplatesNotFound)�TemplateSyntaxError)�UndefinedError�� get_lexer)�Lexer)�TokenStream)�EvalContext)�Parser)�Context)�new_context)� Undefined)�_PassArg)�concat)�consume)� import_string)�internalcode��LRUCache)�missing)� BytecodeCache)� Extension)� BaseLoader� _env_bound�Environment)�bound� )�maxsize�cls�args�returnc � � | |� }d|_ |S )a Return a new spontaneous environment. A spontaneous environment is used for templates created directly rather than through an existing environment. :param cls: Environment class to create. :param args: Positional arguments passed to environment. T)�shared)r; r<