You are here

private function SassRuleNode::isSequence in Sassy 7.3

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

Tests whether the selector is a sequence selector

Parameters

string selector to test:

Return value

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

1 call to SassRuleNode::isSequence()
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 159

Class

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

Code

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