public function __construct() { $this->_children = array(); $this->_indentation = -1; $this->_childrenCount = 0; $this->_lineNumber = 0; $this->_parent = null; }
public function __construct($line) { parent::__construct(); $this->_rawHaml = $line; $this->_haml = trim($line); $this->setIndentationLevel(strlen($line) - strlen(ltrim($line))); }