CloneableInstantiable
Methods |
public __construct(array $options = []) Constructs a NodeDumper. Supported options:
|
public dump( $node, ?string $code = NULL) : string Dumps a node or array.
|
Methods |
protected dumpFlags(int $flags) : string |
protected dumpPosition(PhpParser Dump node position, if possible.
|
protected dumpRecursive( $node, bool $indent = true) : void
|
Constants |
private PhpParser |
Properties |
private ?string $code |
private bool $dumpComments |
private bool $dumpOtherAttributes |
private bool $dumpPositions |
private string $nl |
private string $res |
Methods |
private dumpArrayKind(int $kind) : string |
private dumpEnum(int $value, array $map) : string
|
private dumpIncludeType(int $type) : string |
private dumpIntKind(int $kind) : string |
private dumpListKind(int $kind) : string |
private dumpStringKind(int $kind) : string |
private dumpUseType(int $type) : string |
private toColumn(string $code, int $pos) : int |