TemplateInsertionModeStack
TemplateInsertionModeStack
概述
TemplateInsertionModeStack 是 Aspose.Html FOSS 中针对 Python 的一个类。
根据 §13.2.4.1 的模板插入模式栈。
此类提供 3 个方法,用于在 Python 程序中处理 TemplateInsertionModeStack 对象。可用方法包括:__init__、pop、push。在安装 Aspose.Html FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:current。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
current | `InsertionMode | None` | 读取 |
方法
| 签名 | 描述 |
|---|---|
__init__() | Calls init 在此 TemplateInsertionModeStack 实例上。 |
push(mode: InsertionMode) | 推入一个新的模板插入模式。 |
pop() → InsertionMode | 弹出并返回当前模板插入模式。 |