📝 docs(tsl): restructure agent-facing reference
Rework TSL syntax, catalog, modules, and routing docs around deterministic agent lookup and generation. Split large catalog pages into focused function fact pages, remove obsolete pending/verified/unavailable paths, and update consistency tests for the new structure.
This commit is contained in:
@@ -1,66 +1,38 @@
|
||||
# 客户端函数
|
||||
|
||||
这一页只负责函数定位:先按主题找到模块,再在页内搜索函数名。
|
||||
文档类型:函数事实页
|
||||
是否可直接用于生成代码:是;本页函数条目均包含参数表
|
||||
遇到不确定时:回到 [../index.md](../index.md)、[../../syntax/index.md](../../syntax/index.md)
|
||||
|
||||
## 候选函数索引说明
|
||||
|
||||
- 本页是候选函数索引,只说明函数名被归入当前模块。
|
||||
- 候选名没有进入 verified 函数页前不能当成可调用事实。
|
||||
- 生成代码前必须先查 [../verified/index.md](../verified/index.md);只从 verified 函数页读取参数类型。
|
||||
|
||||
## 使用方式
|
||||
|
||||
- 返回总目录:[catalog/index.md](index.md)
|
||||
- 需要基础语法时回到 [../../syntax/index.md](../../syntax/index.md)
|
||||
- 需要金融任务组织方式时回到 [../../finance/index.md](../../finance/index.md)
|
||||
这一页描述客户端交互、界面控制与前端协作能力。生成函数调用时,只按函数条目中的参数表传参。
|
||||
|
||||
## 模块范围
|
||||
|
||||
- 说明:客户端交互、界面控制与前端协作能力
|
||||
- 主题数:8
|
||||
- 函数数:19
|
||||
- 函数事实数:2
|
||||
|
||||
## 主题目录
|
||||
## 客户端行为控制函数
|
||||
|
||||
### 结果处理 / CallBack
|
||||
### `tsExpert_ClientConfig()`
|
||||
|
||||
- `DelPrecodeCallBack`
|
||||
- `IncPrecodeCallBack`
|
||||
用途:客户端行为控制函数相关函数。
|
||||
|
||||
### 结果处理 / 层次表格的展开
|
||||
参数个数:0
|
||||
返回值:处理结果
|
||||
|
||||
- `ExtractData`
|
||||
- `ExtractDataEx`
|
||||
- `ExtractDataEx2`
|
||||
- `ExtractDataLocalRun2`
|
||||
| 参数位置 | 参数名 | 必填 | 接收类型 | 说明 |
|
||||
| -------- | ------ | ---- | -------- | ---- |
|
||||
|
||||
### 结果处理 / 简单统计
|
||||
## 直接函数
|
||||
|
||||
- `SimpleStat`
|
||||
### `sendRunningData(data[, window_name])`
|
||||
|
||||
### 结果处理 / 品种管理
|
||||
用途:直接函数相关函数。
|
||||
|
||||
- `GetTypeOfStock`
|
||||
参数个数:1 到 2
|
||||
返回值:处理结果
|
||||
|
||||
### 错误处理
|
||||
|
||||
- `RaiseError`
|
||||
- `ASSERT`
|
||||
|
||||
### 客户端行为控制函数
|
||||
|
||||
- `TSExpert_ClientConfig`
|
||||
|
||||
### 客户端行为控制函数 / 客户端行为控制函数简介
|
||||
|
||||
- `ChartColor`
|
||||
- `ChartColorArray`
|
||||
- `DisabledFuncTypeList`
|
||||
- `DisabledSystemFuncList`
|
||||
- `DisabledSysFuncList`
|
||||
- `FuncTypeList`
|
||||
- `AutoRun`
|
||||
|
||||
### 直接函数
|
||||
|
||||
- `SendRunningData`
|
||||
| 参数位置 | 参数名 | 必填 | 接收类型 | 说明 |
|
||||
| -------- | ------------- | ---- | -------- | -------------------------------- |
|
||||
| 1 | `data` | 是 | 任意值 | 要发送到运行结果窗口的数据 |
|
||||
| 2 | `window_name` | 否 | 字符串 | 结果窗口名称;省略时在原窗口输出 |
|
||||
|
||||
Reference in New Issue
Block a user