extends
PrettyPrinterAbstract
protected
pParam(Param $node)
pArg(Arg $node)
pVariadicPlaceholder(VariadicPlaceholder $node)
pConst(Const_ $node)
pNullableType(NullableType $node)
pUnionType(UnionType $node)
pIntersectionType(IntersectionType $node)
pIdentifier(Identifier $node)
pVarLikeIdentifier(VarLikeIdentifier $node)
pAttribute(Attribute $node)
pAttributeGroup(AttributeGroup $node)
pName(Name $node)
pName_FullyQualified(FullyQualified $node)
pName_Relative(Relative $node)
pScalar_MagicConst_Class(Class_ $node)
pScalar_MagicConst_Dir(Dir $node)
pScalar_MagicConst_File(File $node)
pScalar_MagicConst_Function(Function_ $node)
pScalar_MagicConst_Line(Line $node)
pScalar_MagicConst_Method(Method $node)
pScalar_MagicConst_Namespace(Namespace_ $node)
pScalar_MagicConst_Trait(Trait_ $node)
pScalar_String(String_ $node)
pScalar_Encapsed(Encapsed $node)
pScalar_LNumber(LNumber $node)
pScalar_DNumber(DNumber $node)
pScalar_EncapsedStringPart(EncapsedStringPart $node)
pExpr_Assign(Assign $node)
pExpr_AssignRef(AssignRef $node)
pExpr_AssignOp_Plus(Plus $node)
pExpr_AssignOp_Minus(Minus $node)
pExpr_AssignOp_Mul(Mul $node)
pExpr_AssignOp_Div(Div $node)
pExpr_AssignOp_Concat(Concat $node)
pExpr_AssignOp_Mod(Mod $node)
pExpr_AssignOp_BitwiseAnd(BitwiseAnd $node)
pExpr_AssignOp_BitwiseOr(BitwiseOr $node)
pExpr_AssignOp_BitwiseXor(BitwiseXor $node)
pExpr_AssignOp_ShiftLeft(ShiftLeft $node)
pExpr_AssignOp_ShiftRight(ShiftRight $node)
pExpr_AssignOp_Pow(Pow $node)
pExpr_AssignOp_Coalesce(Coalesce $node)
pExpr_BinaryOp_Plus(Plus $node)
pExpr_BinaryOp_Minus(Minus $node)
pExpr_BinaryOp_Mul(Mul $node)
pExpr_BinaryOp_Div(Div $node)
pExpr_BinaryOp_Concat(Concat $node)
pExpr_BinaryOp_Mod(Mod $node)
pExpr_BinaryOp_BooleanAnd(BooleanAnd $node)
pExpr_BinaryOp_BooleanOr(BooleanOr $node)
pExpr_BinaryOp_BitwiseAnd(BitwiseAnd $node)
pExpr_BinaryOp_BitwiseOr(BitwiseOr $node)
pExpr_BinaryOp_BitwiseXor(BitwiseXor $node)
pExpr_BinaryOp_ShiftLeft(ShiftLeft $node)
pExpr_BinaryOp_ShiftRight(ShiftRight $node)
pExpr_BinaryOp_Pow(Pow $node)
pExpr_BinaryOp_LogicalAnd(LogicalAnd $node)
pExpr_BinaryOp_LogicalOr(LogicalOr $node)
pExpr_BinaryOp_LogicalXor(LogicalXor $node)
pExpr_BinaryOp_Equal(Equal $node)
pExpr_BinaryOp_NotEqual(NotEqual $node)
pExpr_BinaryOp_Identical(Identical $node)
pExpr_BinaryOp_NotIdentical(NotIdentical $node)
pExpr_BinaryOp_Spaceship(Spaceship $node)
pExpr_BinaryOp_Greater(Greater $node)
pExpr_BinaryOp_GreaterOrEqual(GreaterOrEqual $node)
pExpr_BinaryOp_Smaller(Smaller $node)
pExpr_BinaryOp_SmallerOrEqual(SmallerOrEqual $node)
pExpr_BinaryOp_Coalesce(Coalesce $node)
pExpr_Instanceof(Instanceof_ $node)
pExpr_BooleanNot(BooleanNot $node)
pExpr_BitwiseNot(BitwiseNot $node)
pExpr_UnaryMinus(UnaryMinus $node)
pExpr_UnaryPlus(UnaryPlus $node)
pExpr_PreInc(PreInc $node)
pExpr_PreDec(PreDec $node)
pExpr_PostInc(PostInc $node)
pExpr_PostDec(PostDec $node)
pExpr_ErrorSuppress(ErrorSuppress $node)
pExpr_YieldFrom(YieldFrom $node)
pExpr_Print(Print_ $node)
pExpr_Cast_Int(Int_ $node)
pExpr_Cast_Double(Double $node)
pExpr_Cast_String(String_ $node)
pExpr_Cast_Array(Array_ $node)
pExpr_Cast_Object(Object_ $node)
pExpr_Cast_Bool(Bool_ $node)
pExpr_Cast_Unset(Unset_ $node)
pExpr_FuncCall(FuncCall $node)
pExpr_MethodCall(MethodCall $node)
pExpr_NullsafeMethodCall(NullsafeMethodCall $node)
pExpr_StaticCall(StaticCall $node)
pExpr_Empty(Empty_ $node)
pExpr_Isset(Isset_ $node)
pExpr_Eval(Eval_ $node)
pExpr_Include(Include_ $node)
pExpr_List(List_ $node)
pExpr_Error(Error $node)
pExpr_Variable(Variable $node)
pExpr_Array(Array_ $node)
pExpr_ArrayItem(ArrayItem $node)
pExpr_ArrayDimFetch(ArrayDimFetch $node)
pExpr_ConstFetch(ConstFetch $node)
pExpr_ClassConstFetch(ClassConstFetch $node)
pExpr_PropertyFetch(PropertyFetch $node)
pExpr_NullsafePropertyFetch(NullsafePropertyFetch $node)
pExpr_StaticPropertyFetch(StaticPropertyFetch $node)
pExpr_ShellExec(ShellExec $node)
pExpr_Closure(Closure $node)
pExpr_Match(Match_ $node)
pMatchArm(MatchArm $node)
pExpr_ArrowFunction(ArrowFunction $node)
pExpr_ClosureUse(ClosureUse $node)
pExpr_New(New_ $node)
pExpr_Clone(Clone_ $node)
pExpr_Ternary(Ternary $node)
pExpr_Exit(Exit_ $node)
pExpr_Throw(Throw_ $node)
pExpr_Yield(Yield_ $node)
pStmt_Namespace(Namespace_ $node)
pStmt_Use(Use_ $node)
pStmt_GroupUse(GroupUse $node)
pStmt_UseUse(UseUse $node)
pUseType($type)
pStmt_Interface(Interface_ $node)
pStmt_Enum(Enum_ $node)
pStmt_Class(Class_ $node)
pStmt_Trait(Trait_ $node)
pStmt_EnumCase(EnumCase $node)
pStmt_TraitUse(TraitUse $node)
pStmt_TraitUseAdaptation_Precedence(Precedence $node)
pStmt_TraitUseAdaptation_Alias(Alias $node)
pStmt_Property(Property $node)
pStmt_PropertyProperty(PropertyProperty $node)
pStmt_ClassMethod(ClassMethod $node)
pStmt_ClassConst(ClassConst $node)
pStmt_Function(Function_ $node)
pStmt_Const(Const_ $node)
pStmt_Declare(Declare_ $node)
pStmt_DeclareDeclare(DeclareDeclare $node)
pStmt_If(If_ $node)
pStmt_ElseIf(ElseIf_ $node)
pStmt_Else(Else_ $node)
pStmt_For(For_ $node)
pStmt_Foreach(Foreach_ $node)
pStmt_While(While_ $node)
pStmt_Do(Do_ $node)
pStmt_Switch(Switch_ $node)
pStmt_Case(Case_ $node)
pStmt_TryCatch(TryCatch $node)
pStmt_Catch(Catch_ $node)
pStmt_Finally(Finally_ $node)
pStmt_Break(Break_ $node)
pStmt_Continue(Continue_ $node)
pStmt_Return(Return_ $node)
pStmt_Throw(Throw_ $node)
pStmt_Label(Label $node)
pStmt_Goto(Goto_ $node)
pStmt_Expression(Expression $node)
pStmt_Echo(Echo_ $node)
pStmt_Static(Static_ $node)
pStmt_Global(Global_ $node)
pStmt_StaticVar(StaticVar $node)
pStmt_Unset(Unset_ $node)
pStmt_InlineHTML(InlineHTML $node)
pStmt_HaltCompiler(HaltCompiler $node)
pStmt_Nop(Nop $node)
pClassCommon(Class_ $node, $afterClassToken)
pObjectProperty($node)
pEncapsList(array $encapsList, $quote)
pSingleQuotedString(string $string)
escapeString($string, $quote)
containsEndLabel($string, $label, $atStart = true, $atEnd = true)
encapsedContainsEndLabel(array $parts, $label)
pDereferenceLhs(Node $node)
pStaticDereferenceLhs(Node $node)
pCallLhs(Node $node)
pNewVariable(Node $node): string
hasNodeWithComments(Node[] $nodes): bool
pMaybeMultiline(array $nodes, bool $trailingComma = false)
pAttrGroups(array $nodes, bool $inline = false): string
__construct(), resetState(), setIndentLevel(), indent(), outdent(), prettyPrint(), prettyPrintExpr(), prettyPrintFile(), preprocessNodes(), handleMagicTokens(), pStmts(), pInfixOp(), pPrefixOp(), pPostfixOp(), pPrec(), pImplode(), pCommaSeparated(), pCommaSeparatedMultiline(), pComments(), printFormatPreserving(), pFallback(), p(), pArray(), pFixup(), safeAppend(), callLhsRequiresParens(), dereferenceLhsRequiresParens(), staticDereferenceLhsRequiresParens(), newOperandRequiresParens(), pModifiers(), isMultiline(), initializeLabelCharMap(), initializeNodeListDiffer(), initializeFixupMap(), initializeRemovalMap(), initializeInsertionMap(), initializeListInsertionMap(), initializeEmptyListInsertionMap(), initializeModifierChangeMap()
FIXUP_PREC_LEFT, FIXUP_PREC_RIGHT, FIXUP_CALL_LHS, FIXUP_DEREF_LHS, FIXUP_BRACED_NAME, FIXUP_VAR_BRACED_NAME, FIXUP_ENCAPSED, FIXUP_NEW, FIXUP_STATIC_DEREF_LHS
FIXUP_PREC_LEFT
FIXUP_PREC_RIGHT
FIXUP_CALL_LHS
FIXUP_DEREF_LHS
FIXUP_BRACED_NAME
FIXUP_VAR_BRACED_NAME
FIXUP_ENCAPSED
FIXUP_NEW
FIXUP_STATIC_DEREF_LHS
$precedenceMap, $indentLevel, $nl, $docStringEndToken, $canUseSemicolonNamespaces, $options, $origTokens, $nodeListDiffer, $labelCharMap, $fixupMap, $removalMap, $insertionMap, $listInsertionMap, $emptyListInsertionMap, $modifierChangeMap