NaifyView\Dialect\Naify\NaifySourceSyntaxPreflight クラス
NaifySourceSyntaxPreflight — Naify dialect の Naify Source Syntax Preflight
Native template 構文の parser / evaluator / runtime contract を担当する。 Twig / Smarty 互換文化を混ぜず、Naify として持つ構文 surface をここで固定する。
使用例
// Naify dialect の parser / expression / runtime helper として使う。
// 通常は NaifyParser や compiler/executor から間接的に呼ばれる。
メソッド
| メソッド | 説明 |
|---|---|
public
findUnsupportedSurface(string $normalizedSource): ?array
|
`findUnsupportedSurface()` を実行する |
private
hasUnsupportedSurfaceProbe(string $source): bool
|
`hasUnsupportedSurfaceProbe()` かを返す |
private
stripLiteralBlocks(string $source): string
|
`stripLiteralBlocks()` を実行する |