> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kasoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.

# arc:push

> 使用 arc:push 将对象推送到脚本的输出对象集中；如果没有 arc:push，脚本不会生成输出对象。

export const siteNameShort = "知行之桥";

`arc:push` 关键字可以将对象推送到脚本的输出对象集中。如果脚本中没有 `arc:push` 元素，则不会生成输出对象。

## 参数

* **item**：要推送到对象集中的对象。如果未提供，则推送堆栈顶部的对象。

* **title**：对象集对象的标题。

* **desc\[ription]**：对象集对象的描述。如果未提供，则使用 `arc:push` 关键字的作用域。`arc:push` 关键字的作用域可以包含其他关键字、HTML 标签等。所有内容都会作为模板求值，并用于设置描述。

* **op**：要调用的操作名称，并推送生成的对象。例如：

  ```xml theme={null}
  <arc:push op="ops" in="input" out="output" />   
  ```

  这是以下内容的简写：

  ```xml theme={null}
  <arc:call op="ops" in="input" out="output">
    <arc:push item="output" />
  </arc:call>
  ```

* **enc\[oding]**：描述的编码。默认情况下，应用程序会将描述作为转义的 XML 推送。可以将此参数设置为 `cdata`，以将描述编码为 CDATA（其中包含未转义的 XML）。

## 控制属性

无

## 示例

为每个推出的对象创建描述。描述是 `arc:push` 关键字作用域中的文本，如下所示：

```xml theme={null}
<arc:call op="fileListDir?mask=*.log">
  <arc:push>
    The .log file contains details about the transmission, including any error messages.
  </arc:push>
</arc:call>
```
