prepare自动生成
编译一个 Kernel 并报告问题,但不发布。
Compiles a Kernel and says what is wrong with it; publishes nothing.
{"id": 1, "op": "prepare", "source": "kernel demo.x@1 { … }"}| 名称 | 类型 | 必需 | 说明 |
|---|---|---|---|
source |
string |
是 | a document with one Kernel; it inherits the scene’s declarations |
id, manifest; or an error at a line and column

