public function SassNode::getFilename in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/tree/SassNode.php \SassNode::getFilename()
Returns the filename for this node
Return value
string the filename for this node
File
- phpsass/
tree/ SassNode.php, line 227
Class
- SassNode
- SassNode class. Base class for all Sass nodes. @package PHamlP @subpackage Sass.tree
Code
public function getFilename() {
if (!is_object($this->token) || !isset($this->token->filename)) {
print_r($this);
die;
}
return $this->token->filename;
}