\Phug\Compiler\NodeCompilerAbstractStatementNodeCompiler

Summary

Methods
Properties
Constants
__construct()
getCompiler()
getCompiledNodeList()
getCompiledChildren()
compileNodeChildren()
createVariable()
No public properties found
No constants found
getTextChildren()
wrapStatement()
No protected properties found
N/A
compileParserNode()
getStatementSubject()
$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

getStatementSubject()

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

Parameters

\Phug\Parser\NodeInterface $node
$subject