\Phug\Compiler\NodeCompilerConditionalNodeCompiler

Summary

Methods
Properties
Constants
__construct()
getCompiler()
getCompiledNodeList()
getCompiledChildren()
compileNodeChildren()
createVariable()
compileNode()
No public properties found
No constants found
wrapStatement()
getTextChildren()
No protected properties found
N/A
compileParserNode()
$compiler
N/A

Properties

Methods

compileNodeChildren()

compileNodeChildren(\Phug\Ast\NodeInterface  $node, \Phug\Formatter\ElementInterface|null  $element = null) : mixed

Compile each child of a given node and append each compiled element into the given parent element.

Parameters

\Phug\Ast\NodeInterface $node
\Phug\Formatter\ElementInterface|null $element

Returns

mixed

wrapStatement()

wrapStatement(\Phug\Parser\NodeInterface  $node,   $statement,   $subject = null,   $noChildrenEnd = ' {}') 

Parameters

\Phug\Parser\NodeInterface $node
$statement
$subject
$noChildrenEnd