NaifyView\Executor\ElementFrameRuntime クラス

ElementFrameRuntime — 属性と本文を開始・終了タグで包む

自己終了タグや空要素の扱いを一箇所にまとめ、値の評価から切り離す。

ASTを直接実行する経路の内部部品。通常の描画にはView::render()を使う。

メソッド

メソッド説明
public renderElement(ElementNode $node, string $attributes, array $scope, array $state, callable $renderNodes): NodeRenderResult `renderElement()` を実行する
private renderSelfClosingFrame(string $tagName, string $attributes): string `renderSelfClosingFrame()` を実行する