PHP Class RootNode, HamlPHP

Show file Open project: hamlphp/hamlphp Class Usage Examples

Protected Properties

Property Type Description
$_children
$_childrenCount
$_compiler
$_indentation
$_lineNumber
$_parent

Public Methods

Method Description
__construct ( )
addNode ( RootNode $node = null )
getChildren ( )
getChildrenCount ( )
getCompiler ( )
getIndentationLevel ( )
getLineNumber ( )
getParent ( )
hasChildren ( )
hasParent ( )
render ( )
renderChildren ( )
setCompiler ( Compiler $compiler )
setIndentationLevel ( $level )
setLineNumber ( $lineNumber )
setParent ( RootNode $node )
shouldContain ( $node )

Protected Methods

Method Description
shouldGoInsideLastNode ( $node )

Method Details

__construct() public method

public __construct ( )

addNode() public method

public addNode ( RootNode $node = null )
$node RootNode

getChildren() public method

public getChildren ( )

getChildrenCount() public method

public getChildrenCount ( )

getCompiler() public method

public getCompiler ( )

getIndentationLevel() public method

public getIndentationLevel ( )

getLineNumber() public method

public getLineNumber ( )

getParent() public method

public getParent ( )

hasChildren() public method

public hasChildren ( )

hasParent() public method

public hasParent ( )

render() public method

public render ( )

renderChildren() public method

public renderChildren ( )

setCompiler() public method

public setCompiler ( Compiler $compiler )
$compiler Compiler

setIndentationLevel() public method

public setIndentationLevel ( $level )

setLineNumber() public method

public setLineNumber ( $lineNumber )

setParent() public method

public setParent ( RootNode $node )
$node RootNode

shouldContain() public method

public shouldContain ( $node )

shouldGoInsideLastNode() protected method

protected shouldGoInsideLastNode ( $node )

Property Details

$_children protected property

protected $_children

$_childrenCount protected property

protected $_childrenCount

$_compiler protected property

protected $_compiler

$_indentation protected property

protected $_indentation

$_lineNumber protected property

protected $_lineNumber

$_parent protected property

protected $_parent