You are here

private function SassRuleNode::isPsuedo in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/tree/SassRuleNode.php \SassRuleNode::isPsuedo()

* Tests whether the selector is a psuedo selector *

Parameters

string selector to test: * @return boolean true if the selector is a psuedo selector, false if not

1 call to SassRuleNode::isPsuedo()
SassRuleNode::extend in phamlp/sass/tree/SassRuleNode.php
* Extend this nodes selectors * $extendee is the subject of the @extend directive * $extender is the selector that contains the @extend directive * $selector a selector or selector sequence that is to be extended

File

phamlp/sass/tree/SassRuleNode.php, line 149

Class

SassRuleNode
SassRuleNode class. Represents a CSS rule. @package PHamlP @subpackage Sass.tree

Code

private function isPsuedo($selector) {
  return strpos($selector, ':') !== false;
}