Lines Matching refs:string

19     protected function pParam(Node\Param $node): string {
30 protected function pArg(Node\Arg $node): string {
36 protected function pVariadicPlaceholder(Node\VariadicPlaceholder $node): string {
40 protected function pConst(Node\Const_ $node): string {
44 protected function pNullableType(Node\NullableType $node): string {
48 protected function pUnionType(Node\UnionType $node): string {
60 protected function pIntersectionType(Node\IntersectionType $node): string {
64 protected function pIdentifier(Node\Identifier $node): string {
68 protected function pVarLikeIdentifier(Node\VarLikeIdentifier $node): string {
72 protected function pAttribute(Node\Attribute $node): string {
77 protected function pAttributeGroup(Node\AttributeGroup $node): string {
83 protected function pName(Name $node): string {
87 protected function pName_FullyQualified(Name\FullyQualified $node): string {
91 protected function pName_Relative(Name\Relative $node): string {
97 protected function pScalar_MagicConst_Class(MagicConst\Class_ $node): string {
101 protected function pScalar_MagicConst_Dir(MagicConst\Dir $node): string {
105 protected function pScalar_MagicConst_File(MagicConst\File $node): string {
109 protected function pScalar_MagicConst_Function(MagicConst\Function_ $node): string {
113 protected function pScalar_MagicConst_Line(MagicConst\Line $node): string {
117 protected function pScalar_MagicConst_Method(MagicConst\Method $node): string {
121 protected function pScalar_MagicConst_Namespace(MagicConst\Namespace_ $node): string {
125 protected function pScalar_MagicConst_Trait(MagicConst\Trait_ $node): string {
129 protected function pScalar_MagicConst_Property(MagicConst\Property $node): string {
135 private function indentString(string $str): string {
139 protected function pScalar_String(Scalar\String_ $node): string {
180 protected function pScalar_InterpolatedString(Scalar\InterpolatedString $node): string {
199 protected function pScalar_Int(Scalar\Int_ $node): string {
229 protected function pScalar_Float(Scalar\Float_ $node): string {
258 … protected function pExpr_Assign(Expr\Assign $node, int $precedence, int $lhsPrecedence): string {
262 …ected function pExpr_AssignRef(Expr\AssignRef $node, int $precedence, int $lhsPrecedence): string {
266 …ed function pExpr_AssignOp_Plus(AssignOp\Plus $node, int $precedence, int $lhsPrecedence): string {
270 … function pExpr_AssignOp_Minus(AssignOp\Minus $node, int $precedence, int $lhsPrecedence): string {
274 …cted function pExpr_AssignOp_Mul(AssignOp\Mul $node, int $precedence, int $lhsPrecedence): string {
278 …cted function pExpr_AssignOp_Div(AssignOp\Div $node, int $precedence, int $lhsPrecedence): string {
282 …unction pExpr_AssignOp_Concat(AssignOp\Concat $node, int $precedence, int $lhsPrecedence): string {
286 …cted function pExpr_AssignOp_Mod(AssignOp\Mod $node, int $precedence, int $lhsPrecedence): string {
290 …pExpr_AssignOp_BitwiseAnd(AssignOp\BitwiseAnd $node, int $precedence, int $lhsPrecedence): string {
294 …n pExpr_AssignOp_BitwiseOr(AssignOp\BitwiseOr $node, int $precedence, int $lhsPrecedence): string {
298 …pExpr_AssignOp_BitwiseXor(AssignOp\BitwiseXor $node, int $precedence, int $lhsPrecedence): string {
302 …n pExpr_AssignOp_ShiftLeft(AssignOp\ShiftLeft $node, int $precedence, int $lhsPrecedence): string {
306 …pExpr_AssignOp_ShiftRight(AssignOp\ShiftRight $node, int $precedence, int $lhsPrecedence): string {
310 …cted function pExpr_AssignOp_Pow(AssignOp\Pow $node, int $precedence, int $lhsPrecedence): string {
314 …ion pExpr_AssignOp_Coalesce(AssignOp\Coalesce $node, int $precedence, int $lhsPrecedence): string {
320 …ed function pExpr_BinaryOp_Plus(BinaryOp\Plus $node, int $precedence, int $lhsPrecedence): string {
324 … function pExpr_BinaryOp_Minus(BinaryOp\Minus $node, int $precedence, int $lhsPrecedence): string {
328 …cted function pExpr_BinaryOp_Mul(BinaryOp\Mul $node, int $precedence, int $lhsPrecedence): string {
332 …cted function pExpr_BinaryOp_Div(BinaryOp\Div $node, int $precedence, int $lhsPrecedence): string {
336 …unction pExpr_BinaryOp_Concat(BinaryOp\Concat $node, int $precedence, int $lhsPrecedence): string {
340 …cted function pExpr_BinaryOp_Mod(BinaryOp\Mod $node, int $precedence, int $lhsPrecedence): string {
344 …pExpr_BinaryOp_BooleanAnd(BinaryOp\BooleanAnd $node, int $precedence, int $lhsPrecedence): string {
348 …n pExpr_BinaryOp_BooleanOr(BinaryOp\BooleanOr $node, int $precedence, int $lhsPrecedence): string {
352 …pExpr_BinaryOp_BitwiseAnd(BinaryOp\BitwiseAnd $node, int $precedence, int $lhsPrecedence): string {
356 …n pExpr_BinaryOp_BitwiseOr(BinaryOp\BitwiseOr $node, int $precedence, int $lhsPrecedence): string {
360 …pExpr_BinaryOp_BitwiseXor(BinaryOp\BitwiseXor $node, int $precedence, int $lhsPrecedence): string {
364 …n pExpr_BinaryOp_ShiftLeft(BinaryOp\ShiftLeft $node, int $precedence, int $lhsPrecedence): string {
368 …pExpr_BinaryOp_ShiftRight(BinaryOp\ShiftRight $node, int $precedence, int $lhsPrecedence): string {
372 …cted function pExpr_BinaryOp_Pow(BinaryOp\Pow $node, int $precedence, int $lhsPrecedence): string {
376 …pExpr_BinaryOp_LogicalAnd(BinaryOp\LogicalAnd $node, int $precedence, int $lhsPrecedence): string {
380 …n pExpr_BinaryOp_LogicalOr(BinaryOp\LogicalOr $node, int $precedence, int $lhsPrecedence): string {
384 …pExpr_BinaryOp_LogicalXor(BinaryOp\LogicalXor $node, int $precedence, int $lhsPrecedence): string {
388 … function pExpr_BinaryOp_Equal(BinaryOp\Equal $node, int $precedence, int $lhsPrecedence): string {
392 …ion pExpr_BinaryOp_NotEqual(BinaryOp\NotEqual $node, int $precedence, int $lhsPrecedence): string {
396 …n pExpr_BinaryOp_Identical(BinaryOp\Identical $node, int $precedence, int $lhsPrecedence): string {
400 …r_BinaryOp_NotIdentical(BinaryOp\NotIdentical $node, int $precedence, int $lhsPrecedence): string {
404 …n pExpr_BinaryOp_Spaceship(BinaryOp\Spaceship $node, int $precedence, int $lhsPrecedence): string {
408 …ction pExpr_BinaryOp_Greater(BinaryOp\Greater $node, int $precedence, int $lhsPrecedence): string {
412 …naryOp_GreaterOrEqual(BinaryOp\GreaterOrEqual $node, int $precedence, int $lhsPrecedence): string {
416 …ction pExpr_BinaryOp_Smaller(BinaryOp\Smaller $node, int $precedence, int $lhsPrecedence): string {
420 …naryOp_SmallerOrEqual(BinaryOp\SmallerOrEqual $node, int $precedence, int $lhsPrecedence): string {
424 …ion pExpr_BinaryOp_Coalesce(BinaryOp\Coalesce $node, int $precedence, int $lhsPrecedence): string {
428 …ed function pExpr_Instanceof(Expr\Instanceof_ $node, int $precedence, int $lhsPrecedence): string {
437 …ted function pExpr_BooleanNot(Expr\BooleanNot $node, int $precedence, int $lhsPrecedence): string {
441 …ted function pExpr_BitwiseNot(Expr\BitwiseNot $node, int $precedence, int $lhsPrecedence): string {
445 …ted function pExpr_UnaryMinus(Expr\UnaryMinus $node, int $precedence, int $lhsPrecedence): string {
449 …ected function pExpr_UnaryPlus(Expr\UnaryPlus $node, int $precedence, int $lhsPrecedence): string {
453 protected function pExpr_PreInc(Expr\PreInc $node): string {
457 protected function pExpr_PreDec(Expr\PreDec $node): string {
461 protected function pExpr_PostInc(Expr\PostInc $node): string {
465 protected function pExpr_PostDec(Expr\PostDec $node): string {
469 …nction pExpr_ErrorSuppress(Expr\ErrorSuppress $node, int $precedence, int $lhsPrecedence): string {
473 …ected function pExpr_YieldFrom(Expr\YieldFrom $node, int $precedence, int $lhsPrecedence): string {
477 protected function pExpr_Print(Expr\Print_ $node, int $precedence, int $lhsPrecedence): string {
483 … protected function pExpr_Cast_Int(Cast\Int_ $node, int $precedence, int $lhsPrecedence): string {
487 …tected function pExpr_Cast_Double(Cast\Double $node, int $precedence, int $lhsPrecedence): string {
500 …ected function pExpr_Cast_String(Cast\String_ $node, int $precedence, int $lhsPrecedence): string {
504 …otected function pExpr_Cast_Array(Cast\Array_ $node, int $precedence, int $lhsPrecedence): string {
508 …ected function pExpr_Cast_Object(Cast\Object_ $node, int $precedence, int $lhsPrecedence): string {
512 …protected function pExpr_Cast_Bool(Cast\Bool_ $node, int $precedence, int $lhsPrecedence): string {
516 …otected function pExpr_Cast_Unset(Cast\Unset_ $node, int $precedence, int $lhsPrecedence): string {
522 protected function pExpr_FuncCall(Expr\FuncCall $node): string {
527 protected function pExpr_MethodCall(Expr\MethodCall $node): string {
532 protected function pExpr_NullsafeMethodCall(Expr\NullsafeMethodCall $node): string {
537 protected function pExpr_StaticCall(Expr\StaticCall $node): string {
547 protected function pExpr_Empty(Expr\Empty_ $node): string {
551 protected function pExpr_Isset(Expr\Isset_ $node): string {
555 protected function pExpr_Eval(Expr\Eval_ $node): string {
559 …rotected function pExpr_Include(Expr\Include_ $node, int $precedence, int $lhsPrecedence): string {
570 protected function pExpr_List(Expr\List_ $node): string {
582 protected function pExpr_Error(Expr\Error $node): string {
586 protected function pExpr_Variable(Expr\Variable $node): string {
594 protected function pExpr_Array(Expr\Array_ $node): string {
604 protected function pKey(?Node $node): string {
619 protected function pArrayItem(Node\ArrayItem $node): string {
626 protected function pExpr_ArrayDimFetch(Expr\ArrayDimFetch $node): string {
631 protected function pExpr_ConstFetch(Expr\ConstFetch $node): string {
635 protected function pExpr_ClassConstFetch(Expr\ClassConstFetch $node): string {
639 protected function pExpr_PropertyFetch(Expr\PropertyFetch $node): string {
643 protected function pExpr_NullsafePropertyFetch(Expr\NullsafePropertyFetch $node): string {
647 protected function pExpr_StaticPropertyFetch(Expr\StaticPropertyFetch $node): string {
651 protected function pExpr_ShellExec(Expr\ShellExec $node): string {
655 protected function pExpr_Closure(Expr\Closure $node): string {
665 protected function pExpr_Match(Expr\Match_ $node): string {
672 protected function pMatchArm(Node\MatchArm $node): string {
685 …nction pExpr_ArrowFunction(Expr\ArrowFunction $node, int $precedence, int $lhsPrecedence): string {
697 protected function pClosureUse(Node\ClosureUse $node): string {
701 protected function pExpr_New(Expr\New_ $node): string {
710 protected function pExpr_Clone(Expr\Clone_ $node, int $precedence, int $lhsPrecedence): string {
714 …protected function pExpr_Ternary(Expr\Ternary $node, int $precedence, int $lhsPrecedence): string {
723 protected function pExpr_Exit(Expr\Exit_ $node): string {
729 protected function pExpr_Throw(Expr\Throw_ $node, int $precedence, int $lhsPrecedence): string {
733 protected function pExpr_Yield(Expr\Yield_ $node, int $precedence, int $lhsPrecedence): string {
749 protected function pStmt_Namespace(Stmt\Namespace_ $node): string {
759 protected function pStmt_Use(Stmt\Use_ $node): string {
764 protected function pStmt_GroupUse(Stmt\GroupUse $node): string {
769 protected function pUseItem(Node\UseItem $node): string {
774 protected function pUseType(int $type): string {
779 protected function pStmt_Interface(Stmt\Interface_ $node): string {
786 protected function pStmt_Enum(Stmt\Enum_ $node): string {
794 protected function pStmt_Class(Stmt\Class_ $node): string {
798 protected function pStmt_Trait(Stmt\Trait_ $node): string {
804 protected function pStmt_EnumCase(Stmt\EnumCase $node): string {
811 protected function pStmt_TraitUse(Stmt\TraitUse $node): string {
818 …ed function pStmt_TraitUseAdaptation_Precedence(Stmt\TraitUseAdaptation\Precedence $node): string {
823 protected function pStmt_TraitUseAdaptation_Alias(Stmt\TraitUseAdaptation\Alias $node): string {
831 protected function pStmt_Property(Stmt\Property $node): string {
839 protected function pPropertyItem(Node\PropertyItem $node): string {
844 protected function pPropertyHook(Node\PropertyHook $node): string {
853 protected function pStmt_ClassMethod(Stmt\ClassMethod $node): string {
864 protected function pStmt_ClassConst(Stmt\ClassConst $node): string {
872 protected function pStmt_Function(Stmt\Function_ $node): string {
880 protected function pStmt_Const(Stmt\Const_ $node): string {
884 protected function pStmt_Declare(Stmt\Declare_ $node): string {
889 protected function pDeclareItem(Node\DeclareItem $node): string {
895 protected function pStmt_If(Stmt\If_ $node): string {
902 protected function pStmt_ElseIf(Stmt\ElseIf_ $node): string {
907 protected function pStmt_Else(Stmt\Else_ $node): string {
915 protected function pStmt_For(Stmt\For_ $node): string {
923 protected function pStmt_Foreach(Stmt\Foreach_ $node): string {
930 protected function pStmt_While(Stmt\While_ $node): string {
935 protected function pStmt_Do(Stmt\Do_ $node): string {
940 protected function pStmt_Switch(Stmt\Switch_ $node): string {
945 protected function pStmt_Case(Stmt\Case_ $node): string {
950 protected function pStmt_TryCatch(Stmt\TryCatch $node): string {
956 protected function pStmt_Catch(Stmt\Catch_ $node): string {
962 protected function pStmt_Finally(Stmt\Finally_ $node): string {
966 protected function pStmt_Break(Stmt\Break_ $node): string {
970 protected function pStmt_Continue(Stmt\Continue_ $node): string {
974 protected function pStmt_Return(Stmt\Return_ $node): string {
978 protected function pStmt_Label(Stmt\Label $node): string {
982 protected function pStmt_Goto(Stmt\Goto_ $node): string {
988 protected function pStmt_Expression(Stmt\Expression $node): string {
992 protected function pStmt_Echo(Stmt\Echo_ $node): string {
996 protected function pStmt_Static(Stmt\Static_ $node): string {
1000 protected function pStmt_Global(Stmt\Global_ $node): string {
1004 protected function pStaticVar(Node\StaticVar $node): string {
1009 protected function pStmt_Unset(Stmt\Unset_ $node): string {
1013 protected function pStmt_InlineHTML(Stmt\InlineHTML $node): string {
1018 protected function pStmt_HaltCompiler(Stmt\HaltCompiler $node): string {
1022 protected function pStmt_Nop(Stmt\Nop $node): string {
1026 protected function pStmt_Block(Stmt\Block $node): string {
1032 protected function pClassCommon(Stmt\Class_ $node, string $afterClassToken): string {
1041 protected function pObjectProperty(Node $node): string {
1051 protected function pEncapsList(array $encapsList, ?string $quote): string {
1064 protected function pSingleQuotedString(string $string): string { argument
1070 return '\'' . preg_replace($regex, '\\\\$0', $string) . '\'';
1073 protected function escapeString(string $string, ?string $quote): string { argument
1076 $escaped = addcslashes($string, "\t\f\v$\\");
1084 $escaped = addcslashes($string, "\n\r\t\f\v$" . $quote . "\\");
1104 return preg_replace_callback($regex, function ($matches): string {
1111 protected function containsEndLabel(string $string, string $label, bool $atStart = true): bool { argument
1113 return false !== strpos($string, $label)
1114 && preg_match('/' . $start . $label . '(?:$|[^_A-Za-z0-9\x80-\xff])/', $string);
1118 protected function encapsedContainsEndLabel(array $parts, string $label): bool {
1129 protected function pDereferenceLhs(Node $node): string {
1137 protected function pStaticDereferenceLhs(Node $node): string {
1145 protected function pCallLhs(Node $node): string {
1153 protected function pNewOperand(Node $node): string {
1174 protected function pMaybeMultiline(array $nodes, bool $trailingComma = false): string {
1183 protected function pAttrGroups(array $nodes, bool $inline = false): string {