コアAPI#
コアAPIは、コンポーネント契約、グラフ、状態、コンパイル済み計画の公開ファサードです。 通常の拡張では saealib.core から名前を取得し、実装モジュールのパスを直接参照しません。
Declare the contract supplied by a component. |
|
Declare a component's ports, services, parts, and sub-contracts. |
|
Declare one constructor-held component contract. |
|
Map declared assumptions while supplying unaware defaults. |
|
A nominal data kind with bound schema-variable values. |
|
Input and output ports for one component role. |
|
A named, directional data contract. |
|
Declare state keys read, written, or exported by a component. |
|
Declare events consumed by a component. |
|
Declare runtime capabilities required or offered by a component. |
|
A self-contained graph and its declared entry points. |
|
A frozen |
|
Base immutable description of a structured control region. |
|
Common metadata and application boundary for compiler rules. |
|
Own versioned state values and consume each instance after a move. |
|
Read-only projection of a store for declared state keys. |
|
Describe replacement, in-place, and deletion operations on state. |
|
Immutable result of compilation; execution belongs to a later phase. |
|
Protocol consumed by a runner; concrete execution is a later unit. |
Compiler の公開 import 方針は現在整理中です。 そのため、このページでは saealib.core と saealib.core.compiler のどちらかを標準のimport pathとして断定しません。 コンパイラを使うコードでは、対象リリースの公開APIとリリースノートを確認してください。
グラフの構成値はsaealib.core.compilerから参照できます。
Hold a component instance and its compilation-local contract snapshot. |
|
Identify a graph node, optionally in one of its component roles. |
|
Connect a source port to a target port. |
|
Express control dependency between two graph nodes. |
|
Bind a component node to an actual state key. |
|
A structured compiler finding attached to a contract path. |
|
An ordered component path with an optional role and port. |