You are here

public function SassNode::getLastChild in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/tree/SassNode.php \SassNode::getLastChild()

Returns the last child node of this node.

Return value

SassNode the last child node of this node

File

phpsass/tree/SassNode.php, line 171

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];
}