compileOpen()
compileOpen(\Box\Brainy\Compiler\TemplateCompiler $compiler, array|null $args) : mixed
Parameters
\Box\Brainy\Compiler\TemplateCompiler | $compiler | A compiler reference |
array|null | $args | Arguments |
compileOpen(\Box\Brainy\Compiler\TemplateCompiler $compiler, array|null $args) : mixed
\Box\Brainy\Compiler\TemplateCompiler | $compiler | A compiler reference |
array|null | $args | Arguments |
compileClose(\Box\Brainy\Compiler\TemplateCompiler $compiler, array|null $args) : mixed
Compiles the closing tag for a function
\Box\Brainy\Compiler\TemplateCompiler | $compiler | A compiler reference |
array|null | $args | Arguments |
closeTag(\Box\Brainy\Compiler\TemplateCompiler $compiler, array|string $expectedTag) : mixed
Pop closing tag
Raise an error if this stack-top doesn't match with expected opening tags
\Box\Brainy\Compiler\TemplateCompiler | $compiler | |
array|string | $expectedTag | the expected opening tag names |
any type the opening tag's name or saved data
getName(\Box\Brainy\Compiler\TemplateCompiler $compiler, array|null $args) : mixed
\Box\Brainy\Compiler\TemplateCompiler | $compiler | A compiler reference |
array|null | $args | Arguments |
compileForced(\Box\Brainy\Compiler\TemplateCompiler $compiler, string $name, string $childBlockVar) : string
\Box\Brainy\Compiler\TemplateCompiler | $compiler | |
string | $name | |
string | $childBlockVar |