titanscssc::evalSelectorPart PHP Method

evalSelectorPart() protected method

protected evalSelectorPart ( $piece )
    protected function evalSelectorPart($piece)
    {
        foreach ($piece as &$p) {
            if (!is_array($p)) {
                continue;
            }
            switch ($p[0]) {
                case "interpolate":
                    $p = $this->compileValue($p);
                    break;
                case "string":
                    $p = $this->compileValue($p);
                    break;
            }
        }
        return $this->flattenSelectorSingle($piece);
    }
titanscssc