Method | Description | |
---|---|---|
pExpr_Closure ( |
||
pStmt_Break ( PhpParser\Node\Stmt\Break_ $node ) | ||
pStmt_Case ( PhpParser\Node\Stmt\Case_ $node ) | ||
pStmt_Catch ( |
||
pStmt_ClassMethod ( |
||
pStmt_Continue ( PhpParser\Node\Stmt\Continue_ $node ) | ||
pStmt_Declare ( |
||
pStmt_Do ( PhpParser\Node\Stmt\Do_ $node ) | ||
pStmt_Echo ( PhpParser\Node\Stmt\Echo_ $node ) | Other | |
pStmt_Else ( PhpParser\Node\Stmt\Else_ $node ) | ||
pStmt_ElseIf ( PhpParser\Node\Stmt\ElseIf_ $node ) | ||
pStmt_For ( PhpParser\Node\Stmt\For_ $node ) | ||
pStmt_Foreach ( PhpParser\Node\Stmt\Foreach_ $node ) | ||
pStmt_Function ( |
||
pStmt_Global ( PhpParser\Node\Stmt\Global_ $node ) | ||
pStmt_Goto ( PhpParser\Node\Stmt\Goto_ $node ) | ||
pStmt_HaltCompiler ( PhpParser\Node\Stmt\HaltCompiler $node ) | ||
pStmt_If ( PhpParser\Node\Stmt\If_ $node ) | ||
pStmt_Interface ( |
||
pStmt_Label ( PhpParser\Node\Stmt\Label $node ) | ||
pStmt_Namespace ( |
||
pStmt_Return ( PhpParser\Node\Stmt\Return_ $node ) | ||
pStmt_Static ( PhpParser\Node\Stmt\Static_ $node ) | ||
pStmt_StaticVar ( PhpParser\Node\Stmt\StaticVar $node ) | ||
pStmt_Switch ( PhpParser\Node\Stmt\Switch_ $node ) | ||
pStmt_Throw ( PhpParser\Node\Stmt\Throw_ $node ) | ||
pStmt_Trait ( |
||
pStmt_TraitUse ( PhpParser\Node\Stmt\TraitUse $node ) | ||
pStmt_TryCatch ( |
||
pStmt_Unset ( PhpParser\Node\Stmt\Unset_ $node ) | ||
pStmt_While ( PhpParser\Node\Stmt\While_ $node ) | ||
prettyPrintFile ( array $stmts ) |
Method | Description | |
---|---|---|
p ( PhpParser\Node $node ) | ||
pClassCommon ( |
||
pEncapsList ( array $encapsList, $quote ) | ||
pStmts ( array $nodes, boolean $indent = true ) : string | Pretty prints an array of nodes (statements) and indents them optionally. | |
pType ( $node ) | Helpers |
protected pClassCommon ( |
||
$node |
protected pEncapsList ( array $encapsList, $quote ) | ||
$encapsList | array |
public pExpr_Closure ( |
||
$node |
public pStmt_Break ( PhpParser\Node\Stmt\Break_ $node ) | ||
$node | PhpParser\Node\Stmt\Break_ |
public pStmt_Case ( PhpParser\Node\Stmt\Case_ $node ) | ||
$node | PhpParser\Node\Stmt\Case_ |
public pStmt_ClassMethod ( |
||
$node |
public pStmt_Continue ( PhpParser\Node\Stmt\Continue_ $node ) | ||
$node | PhpParser\Node\Stmt\Continue_ |
public pStmt_Declare ( |
||
$node |
public pStmt_Do ( PhpParser\Node\Stmt\Do_ $node ) | ||
$node | PhpParser\Node\Stmt\Do_ |
public pStmt_Echo ( PhpParser\Node\Stmt\Echo_ $node ) | ||
$node | PhpParser\Node\Stmt\Echo_ |
public pStmt_Else ( PhpParser\Node\Stmt\Else_ $node ) | ||
$node | PhpParser\Node\Stmt\Else_ |
public pStmt_ElseIf ( PhpParser\Node\Stmt\ElseIf_ $node ) | ||
$node | PhpParser\Node\Stmt\ElseIf_ |
public pStmt_For ( PhpParser\Node\Stmt\For_ $node ) | ||
$node | PhpParser\Node\Stmt\For_ |
public pStmt_Foreach ( PhpParser\Node\Stmt\Foreach_ $node ) | ||
$node | PhpParser\Node\Stmt\Foreach_ |
public pStmt_Function ( |
||
$node |
public pStmt_Global ( PhpParser\Node\Stmt\Global_ $node ) | ||
$node | PhpParser\Node\Stmt\Global_ |
public pStmt_Goto ( PhpParser\Node\Stmt\Goto_ $node ) | ||
$node | PhpParser\Node\Stmt\Goto_ |
public pStmt_HaltCompiler ( PhpParser\Node\Stmt\HaltCompiler $node ) | ||
$node | PhpParser\Node\Stmt\HaltCompiler |
public pStmt_If ( PhpParser\Node\Stmt\If_ $node ) | ||
$node | PhpParser\Node\Stmt\If_ |
public pStmt_Interface ( |
||
$node |
public pStmt_Label ( PhpParser\Node\Stmt\Label $node ) | ||
$node | PhpParser\Node\Stmt\Label |
public pStmt_Namespace ( |
||
$node |
public pStmt_Return ( PhpParser\Node\Stmt\Return_ $node ) | ||
$node | PhpParser\Node\Stmt\Return_ |
public pStmt_Static ( PhpParser\Node\Stmt\Static_ $node ) | ||
$node | PhpParser\Node\Stmt\Static_ |
public pStmt_StaticVar ( PhpParser\Node\Stmt\StaticVar $node ) | ||
$node | PhpParser\Node\Stmt\StaticVar |
public pStmt_Switch ( PhpParser\Node\Stmt\Switch_ $node ) | ||
$node | PhpParser\Node\Stmt\Switch_ |
public pStmt_Throw ( PhpParser\Node\Stmt\Throw_ $node ) | ||
$node | PhpParser\Node\Stmt\Throw_ |
public pStmt_TraitUse ( PhpParser\Node\Stmt\TraitUse $node ) | ||
$node | PhpParser\Node\Stmt\TraitUse |
public pStmt_TryCatch ( |
||
$node |
public pStmt_Unset ( PhpParser\Node\Stmt\Unset_ $node ) | ||
$node | PhpParser\Node\Stmt\Unset_ |
public pStmt_While ( PhpParser\Node\Stmt\While_ $node ) | ||
$node | PhpParser\Node\Stmt\While_ |