You are here

public function SassMixinDefinitionNode::parse in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/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 array the parsed node - an empty array

File

phamlp/sass/tree/SassMixinDefinitionNode.php, line 67

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();
}