@@ 2454-2462 (lines=9) @@ | ||
2451 | $s = $this->seek(); |
|
2452 | ||
2453 | // setting a property |
|
2454 | if ($this->keyword($key) && $this->assign() && |
|
2455 | $this->propertyValue($value, $key) && $this->end() |
|
2456 | ) { |
|
2457 | $this->append(['assign', $key, $value], $s); |
|
2458 | ||
2459 | return true; |
|
2460 | } else { |
|
2461 | $this->seek($s); |
|
2462 | } |
|
2463 | ||
2464 | // look for special css blocks |
|
2465 | if ($this->literal('@', false)) { |
|
@@ 2510-2518 (lines=9) @@ | ||
2507 | } |
|
2508 | ||
2509 | // setting a variable |
|
2510 | if ($this->variable($var) && $this->assign() && |
|
2511 | $this->propertyValue($value) && $this->end() |
|
2512 | ) { |
|
2513 | $this->append(['assign', $var, $value], $s); |
|
2514 | ||
2515 | return true; |
|
2516 | } else { |
|
2517 | $this->seek($s); |
|
2518 | } |
|
2519 | ||
2520 | if ($this->import($importValue)) { |
|
2521 | $this->append($importValue, $s); |