You are here

public function SassNode::getLastChild in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/tree/SassNode.php \SassNode::getLastChild()

* Returns the last child node of this node. *

Return value

SassNode the last child node of this node

File

phamlp/sass/tree/SassNode.php, line 168

Class

SassNode
SassNode class. Base class for all Sass nodes. @package PHamlP @subpackage Sass.tree

Code

public function getLastChild() {
  return $this->children[count($this->children) - 1];
}