Server IP : 192.158.238.246 / Your IP : 18.189.143.114 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/lib/python3.7/site-packages/mako/__pycache__/ |
Upload File : |
B �C]� � @ s d Z ddlZddlZddlZddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddlm Z dd lmZ d Z eddg�Zed dg��e�Zdddddddddde� fdd�ZG dd� de�ZG dd� de�ZG dd� de�Ze�d�Zdd� ZG dd� de�ZdS )zVprovides functionality for rendering a parsetree constructing into module source code.� N)�ast)�compat)� exceptions)�filters)� parsetree)�util)� PythonPrinter� Z UNDEFINEDZSTOP_RENDERING�context�loopTFc C sZ t jst|t j�r|�|�}t�� } t| �}t|t ||||||||| | ||�| � | � � S )z[Generate module source code given a parsetree node, uri, and optional source filename)r Zpy3k� isinstanceZ text_type�encoder ZFastEncodingBufferr �_GenerateRenderMethod�_CompileContext�getvalue)�node�uri�filename�default_filters�buffer_filters�imports�future_imports�source_encoding�generate_magic_comment�disable_unicode�strict_undefined�enable_loop�reserved_names�buf�printer� r �=/opt/alt/python37/lib/python3.7/site-packages/mako/codegen.py�compile s* r"