Lines Matching refs:p
22 . ($node->type ? $this->p($node->type) . ' ' : '')
25 . $this->p($node->var)
26 . ($node->default ? ' = ' . $this->p($node->default) : '')
33 . $this->p($node->value);
41 return $node->name . ' = ' . $this->p($node->value);
45 return '?' . $this->p($node->type);
52 $types[] = '('. $this->p($typeNode) . ')';
55 $types[] = $this->p($typeNode);
73 return $this->p($node->name)
259 …return $this->pPrefixOp(Expr\Assign::class, $this->p($node->var) . ' = ', $node->expr, $precedence…
263 …return $this->pPrefixOp(Expr\AssignRef::class, $this->p($node->var) . ' =& ', $node->expr, $preced…
267 …return $this->pPrefixOp(AssignOp\Plus::class, $this->p($node->var) . ' += ', $node->expr, $precede…
271 …return $this->pPrefixOp(AssignOp\Minus::class, $this->p($node->var) . ' -= ', $node->expr, $preced…
275 …return $this->pPrefixOp(AssignOp\Mul::class, $this->p($node->var) . ' *= ', $node->expr, $preceden…
279 …return $this->pPrefixOp(AssignOp\Div::class, $this->p($node->var) . ' /= ', $node->expr, $preceden…
283 …return $this->pPrefixOp(AssignOp\Concat::class, $this->p($node->var) . ' .= ', $node->expr, $prece…
287 …return $this->pPrefixOp(AssignOp\Mod::class, $this->p($node->var) . ' %= ', $node->expr, $preceden…
291 …return $this->pPrefixOp(AssignOp\BitwiseAnd::class, $this->p($node->var) . ' &= ', $node->expr, $p…
295 …return $this->pPrefixOp(AssignOp\BitwiseOr::class, $this->p($node->var) . ' |= ', $node->expr, $pr…
299 …return $this->pPrefixOp(AssignOp\BitwiseXor::class, $this->p($node->var) . ' ^= ', $node->expr, $p…
303 …return $this->pPrefixOp(AssignOp\ShiftLeft::class, $this->p($node->var) . ' <<= ', $node->expr, $p…
307 …return $this->pPrefixOp(AssignOp\ShiftRight::class, $this->p($node->var) . ' >>= ', $node->expr, $…
311 …return $this->pPrefixOp(AssignOp\Pow::class, $this->p($node->var) . ' **= ', $node->expr, $precede…
315 …return $this->pPrefixOp(AssignOp\Coalesce::class, $this->p($node->var) . ' ??= ', $node->expr, $pr…
454 return '++' . $this->p($node->var);
458 return '--' . $this->p($node->var);
462 return $this->p($node->var) . '++';
466 return $this->p($node->var) . '--';
541 ? $this->p($node->name)
542 : '{' . $this->p($node->name) . '}')
548 return 'empty(' . $this->p($node->expr) . ')';
556 return 'eval(' . $this->p($node->expr) . ')';
588 return '${' . $this->p($node->name) . '}';
616 return $this->p($node, self::MAX_PRECEDENCE, $yieldPrecedence) . ' => ';
623 . $this->p($node->value);
628 . '[' . (null !== $node->dim ? $this->p($node->dim) : '') . ']';
632 return $this->p($node->name);
661 . (null !== $node->returnType ? ': ' . $this->p($node->returnType) : '')
666 return 'match (' . $this->p($node->cond) . ') {'
676 $result .= $this->p($node->conds[$i]) . ', ';
682 return $result . $this->p($node->body);
692 . (null !== $node->returnType ? ': ' . $this->p($node->returnType) : '')
698 return ($node->byRef ? '&' : '') . $this->p($node->var);
718 …$node->cond, ' ?' . (null !== $node->if ? ' ' . $this->p($node->if) . ' ' : '') . ': ', $node->els…
726 . (null !== $node->expr ? '(' . $this->p($node->expr) . ')' : '');
739 return '(yield ' . $this->pKey($node->key) . $this->p($node->value) . ')';
751 return 'namespace ' . $this->p($node->name) . ';'
754 return 'namespace' . (null !== $node->name ? ' ' . $this->p($node->name) : '')
770 return $this->pUseType($node->type) . $this->p($node->name)
789 . ($node->scalarType ? ' : ' . $this->p($node->scalarType) : '')
807 . ($node->expr ? ' = ' . $this->p($node->expr) : '')
819 return $this->p($node->trait) . '::' . $node->method
824 return (null !== $node->trait ? $this->p($node->trait) . '::' : '')
834 . ($node->type ? $this->p($node->type) . ' ' : '')
841 . (null !== $node->default ? ' = ' . $this->p($node->default) : '');
850 : ($node->body !== null ? ' => ' . $this->p($node->body) : '') . ';');
858 . (null !== $node->returnType ? ': ' . $this->p($node->returnType) : '')
868 . (null !== $node->type ? $this->p($node->type) . ' ' : '')
876 . (null !== $node->returnType ? ': ' . $this->p($node->returnType) : '')
890 return $node->key . '=' . $this->p($node->value);
896 return 'if (' . $this->p($node->cond) . ') {'
899 . (null !== $node->else ? ' ' . $this->p($node->else) : '');
903 return 'elseif (' . $this->p($node->cond) . ') {'
910 return 'else ' . $this->p($node->stmts[0]);
924 return 'foreach (' . $this->p($node->expr) . ' as '
925 . (null !== $node->keyVar ? $this->p($node->keyVar) . ' => ' : '')
926 . ($node->byRef ? '&' : '') . $this->p($node->valueVar) . ') {'
931 return 'while (' . $this->p($node->cond) . ') {'
937 . '} while (' . $this->p($node->cond) . ');';
941 return 'switch (' . $this->p($node->cond) . ') {'
946 return (null !== $node->cond ? 'case ' . $this->p($node->cond) : 'default') . ':'
953 . ($node->finally !== null ? ' ' . $this->p($node->finally) : '');
958 . ($node->var !== null ? ' ' . $this->p($node->var) : '')
967 return 'break' . ($node->num !== null ? ' ' . $this->p($node->num) : '') . ';';
971 return 'continue' . ($node->num !== null ? ' ' . $this->p($node->num) : '') . ';';
975 return 'return' . (null !== $node->expr ? ' ' . $this->p($node->expr) : '') . ';';
989 return $this->p($node->expr) . ';';
1005 return $this->p($node->var)
1006 . (null !== $node->default ? ' = ' . $this->p($node->default) : '');
1036 . (null !== $node->extends ? ' extends ' . $this->p($node->extends) : '')
1043 return '{' . $this->p($node) . '}';
1057 $return .= '{' . $this->p($element) . '}';
1131 return $this->p($node);
1133 return '(' . $this->p($node) . ')';
1139 return $this->p($node);
1141 return '(' . $this->p($node) . ')';
1147 return $this->p($node);
1149 return '(' . $this->p($node) . ')';
1155 return $this->p($node);
1157 return '(' . $this->p($node) . ')';
1187 $result .= $this->p($node) . $sep;