30// phpcs:ignore Squiz.Classes.ValidClassName.NotCamelCaps 44return var_export( $this,
true );
48return count( $this->value );
52return $this->value[$i];
76// @phan-suppress-previous-line PhanPluginNeverReturnMethod 77thrownew LogicException( __METHOD__ .
': not supported' );
81// @phan-suppress-previous-line PhanPluginNeverReturnMethod 82thrownew LogicException( __METHOD__ .
': not supported' );
86// @phan-suppress-previous-line PhanPluginNeverReturnMethod 87thrownew LogicException( __METHOD__ .
': not supported' );
92class_alias( PPNode_Hash_Array::class,
'PPNode_Hash_Array' );
item( $i)
Returns an item of an array-type node.
splitExt()
Split an "<ext>" node into an associative array containing name, attr, inner and close All values in ...
getFirstChild()
Get the first child of a tree node.
splitArg()
Split a "<part>" node into an associative array containing: name PPNode name index String index value...
splitHeading()
Split an "<h>" node.
getNextSibling()
Get the next sibling of any node.
getChildren()
Get an array-type node containing the children of this node.
getName()
Get the name of this node.
getLength()
Returns the length of the array, or false if this is not an array-type node.
getChildrenOfType( $name)
Get all children of this tree node which have a given name.
There are three types of nodes: