Lines Matching defs:position
375 * @param Ast\Value\Position $position
379 Ast\Value\Position $position
381 $repeatsOddEven = $position->repeat === 2;
382 if ($repeatsOddEven && $position->add === 1) {
384 } elseif ($repeatsOddEven && $position->add === 0) {
386 } elseif ($position->repeat === 0) {
387 $css = $position->add;
388 } elseif ($position->repeat === 1) {
390 if ($position->add !== 0) {
391 $css .= $position->add >= 0
392 ? '+'.$position->add : $position->add;
395 $css = $position->repeat.'n';
396 if ($position->add !== 0) {
397 $css .= $position->add >= 0
398 ? '+'.$position->add : $position->add;