docs: 文字微调

This commit is contained in:
Zhicheng WANG 2020-02-14 09:20:10 +08:00
parent 0e4028cb07
commit 55f1ef014b

View File

@ -37,11 +37,11 @@ When making modifications, you don't actually change the base, but add those mod
* A `Rule` object defines a function that takes a `Tree`, applies transformations, and returns a new `Tree`. The main file for a schematic, `index.ts`, defines a set of rules that implement the schematic's logic.
`Rule`(规则)对象定义了一个函数,它接受 `Tree`,进行换,并返回一个新的 `Tree` 。原理图的主文件 `index.ts` 定义了一组实现原理图逻辑的规则。
`Rule`(规则)对象定义了一个函数,它接受 `Tree`,进行换,并返回一个新的 `Tree` 。原理图的主文件 `index.ts` 定义了一组实现原理图逻辑的规则。
* A transformation is represented by an `Action`. There are four action types: `Create`, `Rename`, `Overwrite`, and `Delete`.
换由 `Action`(动作)表示。有四种动作类型:`Create``Rename``Overwrite``Delete`
换由 `Action`(动作)表示。有四种动作类型:`Create``Rename``Overwrite``Delete`
* Each schematic runs in a context, represented by a `SchematicContext` object.