Constants

EACH_SCOPE_VARIABLE_NAME

EACH_SCOPE_VARIABLE_NAME

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

getScopeVariablesDump()

getScopeVariablesDump(  $eachScopeVariableName, array  $variables) 

Parameters

$eachScopeVariableName
array $variables

getScopeVariablesRestore()

getScopeVariablesRestore(  $eachScopeVariableName) 

Parameters

$eachScopeVariableName

compileLoop()

compileLoop(\Phug\Parser\NodeInterface  $node,   $items,   $key,   $item) 

Parameters

\Phug\Parser\NodeInterface $node
$items
$key
$item

wrapStatement()

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

Parameters

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