📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-21 20:30:39
📂
/ (Root)
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
mako
/
__pycache__
📍 /opt/alt/python37/lib/python3.7/site-packages/mako/__pycache__
🔄 Refresh
✏️
Editing: codegen.cpython-37.pyc
Read Only
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"