SassRuleNode::parentReferencePos
Returns the position of the first parent reference in the selector.
If there is no parent reference in the selector this function returns boolean FALSE. Note that the return value may be non-Boolean that evaluates to FALSE, i.e. 0. The return value should be tested using the === operator.
Signature
private function parentReferencePos(
$selector )
Parameters
$selector
—
Returns
- mixed
- integer: position of the the first parent reference,
boolean: false if there is no parent reference.