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

getStatementSubject()

getStatementSubject(\Phug\Parser\NodeInterface  $node,   $subject) 

Parameters

\Phug\Parser\NodeInterface $node
$subject