You are here

public function SassFunctionDefinitionNode::parse in Sassy 7.3

Parse this node. Add this function to the current context.

Parameters

SassContext the context in which this node is parsed:

Return value

array the parsed node - an empty array

File

phpsass/tree/SassFunctionDefinitionNode.php, line 69

Class

SassFunctionDefinitionNode
SassFunctionDefinitionNode class. Represents a Function definition. @package PHamlP @subpackage Sass.tree

Code

public function parse($context) {
  $context
    ->addFunction($this->name, $this);
  return array();
}