| @@ 212-220 (lines=9) @@ | ||
| 209 | } |
|
| 210 | ||
| 211 | // setting a property |
|
| 212 | if ($this->keyword($key) && $this->assign() && $this->propertyValue($value, $key) && $this->end()) { |
|
| 213 | $this->append(['assign', $key, $value], $s); |
|
| 214 | ||
| 215 | return true; |
|
| 216 | } else { |
|
| 217 | $this->seek($s); |
|
| 218 | } |
|
| 219 | ||
| 220 | // look for special css blocks |
|
| 221 | if ($this->literal('@', false)) { |
|
| 222 | $this->count--; |
|
| 223 | ||
| @@ 282-290 (lines=9) @@ | ||
| 279 | ||
| 280 | ||
| 281 | // setting a variable |
|
| 282 | if ($this->variable($var) && $this->assign() && |
|
| 283 | $this->propertyValue($value) && $this->end() |
|
| 284 | ) { |
|
| 285 | $this->append(['assign', $var, $value], $s); |
|
| 286 | ||
| 287 | return true; |
|
| 288 | } else { |
|
| 289 | $this->seek($s); |
|
| 290 | } |
|
| 291 | ||
| 292 | if ($this->import($importValue)) { |
|
| 293 | $this->append($importValue, $s); |
|