文件操作 - codegen.cpython-311.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/mako/__pycache__/codegen.cpython-311.pyc
编辑文件内容
� ��sc � �^ � d Z ddlZddlZddlZddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddl mZ d Zd dhZ dd h� e � � Zddddddddd e� � f d�Z G d� d� � Z G d� d� � Z G d� d� � Z ej d� � Zd� Z G d� d� � ZdS )zVprovides functionality for rendering a parsetree constructing into module source code.� N)�ast)� exceptions)�filters)� parsetree)�util)� PythonPrinter� � UNDEFINED�STOP_RENDERING�context�loopTFc � � t j � � }t |� � } t | t ||||||||| | |� � | � � |� � � S )zYGenerate module source code given a parsetree node, uri, and optional source filename)r �FastEncodingBufferr �_GenerateRenderMethod�_CompileContext�getvalue)�node�uri�filename�default_filters�buffer_filters�imports�future_imports�source_encoding�generate_magic_comment�strict_undefined�enable_loop�reserved_names�buf�printers �./usr/lib/python3/dist-packages/mako/codegen.py�compiler"