You are here

public function SassMixinDefinitionNode::parse in Sassy 7.3

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

Parse this node. Add this mixin 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/SassMixinDefinitionNode.php, line 64

Class

SassMixinDefinitionNode
SassMixinDefinitionNode class. Represents a Mixin definition. @package PHamlP @subpackage Sass.tree

Code

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