You are here

private function SassRuleNode::isPsuedo in Sassy 7.3

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

Tests whether the selector is a psuedo selector

Parameters

string selector to test:

Return value

boolean true if the selector is a psuedo selector, false if not

1 call to SassRuleNode::isPsuedo()
SassRuleNode::extend in phpsass/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

phpsass/tree/SassRuleNode.php, line 150

Class

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

Code

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