EvaluationTarget class
ランタイム テンプレートの状態。
コンストラクター
Evaluation |
EvaluationTarget クラスの新しいインスタンスを作成します。 |
プロパティ
cached |
このテンプレートが現在評価した子テンプレート。 |
scope | 範囲。 |
template |
テンプレート名。 |
メソッド
get |
現在のインスタンス ID を取得します。2 つのターゲットの ID が同じ場合は、テンプレート評価結果が同じであると言うことができます。 |
コンストラクターの詳細
EvaluationTarget(string, MemoryInterface)
EvaluationTarget クラスの新しいインスタンスを作成します。
new EvaluationTarget(templateName: string, scope: MemoryInterface)
パラメーター
- templateName
-
string
テンプレート名。
- scope
-
MemoryInterface
テンプレート スコープ。
プロパティの詳細
cachedEvaluatedChildren
このテンプレートが現在評価した子テンプレート。
cachedEvaluatedChildren: Map<string, unknown>
プロパティ値
Map<string, unknown>
scope
範囲。
scope: MemoryInterface
プロパティ値
MemoryInterface
templateName
テンプレート名。
templateName: string
プロパティ値
string
メソッドの詳細
getId()
現在のインスタンス ID を取得します。2 つのターゲットの ID が同じ場合は、テンプレート評価結果が同じであると言うことができます。
function getId(): string
戻り値
string
ID