🎨 style(tsl-syntax-reference): run prettier on unguarded tables
- SKILL.md and 02 were the only files prettier still reported in this skill; their tables carry no prettier-ignore guard like the wide ones on 06 and 15, so `prettier -w` pads the cells - formatting only, no wording change Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -215,14 +215,14 @@ function:__main__:line 9: invalid statement
|
||||
|
||||
已经确定任务目标时,按下表选择起手形态:
|
||||
|
||||
| 任务 | 起手形态 | 写法 |
|
||||
| --- | --- | --- |
|
||||
| 入口流程、脚本任务或一次性执行逻辑 | `.tsl` 脚本语句区 | 直接写会顺序执行的语句 |
|
||||
| 脚本逻辑需要调用本文件内函数 | `.tsl` 语句区 + 后置函数声明区 | 语句区之后写 `function ... begin ... end;` 或 `procedure ... begin ... end;` |
|
||||
| 脚本逻辑需要对象状态、字段、方法 | `.tsl` 语句区 + 后置类声明区 | 语句区之后写 `type Name = class ... end;` |
|
||||
| 沉淀可复用函数或过程 | `.tsf` 顶层函数 / 过程 | 写可部署到 `funcext` 的 `function` / `procedure` 文件 |
|
||||
| 沉淀可复用类 | `.tsf` 顶层类声明 | 写 `type Name = class ... end;`,只按可复用声明理解;类细节见 [08_objects_and_classes.md](08_objects_and_classes.md) |
|
||||
| 把接口和实现组织进一个模块 | `.tsf` `unit` | 默认先写 `unit ... interface ... implementation ... end.`;简写形态见 [09_units_and_scope.md](09_units_and_scope.md) |
|
||||
| 任务 | 起手形态 | 写法 |
|
||||
| ---------------------------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------- |
|
||||
| 入口流程、脚本任务或一次性执行逻辑 | `.tsl` 脚本语句区 | 直接写会顺序执行的语句 |
|
||||
| 脚本逻辑需要调用本文件内函数 | `.tsl` 语句区 + 后置函数声明区 | 语句区之后写 `function ... begin ... end;` 或 `procedure ... begin ... end;` |
|
||||
| 脚本逻辑需要对象状态、字段、方法 | `.tsl` 语句区 + 后置类声明区 | 语句区之后写 `type Name = class ... end;` |
|
||||
| 沉淀可复用函数或过程 | `.tsf` 顶层函数 / 过程 | 写可部署到 `funcext` 的 `function` / `procedure` 文件 |
|
||||
| 沉淀可复用类 | `.tsf` 顶层类声明 | 写 `type Name = class ... end;`,只按可复用声明理解;类细节见 [08_objects_and_classes.md](08_objects_and_classes.md) |
|
||||
| 把接口和实现组织进一个模块 | `.tsf` `unit` | 默认先写 `unit ... interface ... implementation ... end.`;简写形态见 [09_units_and_scope.md](09_units_and_scope.md) |
|
||||
|
||||
补充判断:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user