Documentation

MutableTypeVisitor
in package

AbstractYes

Table of Contents

Constants

DONT_TRAVERSE_CHILDREN  = 2
STOP_TRAVERSAL  = 1

Methods

traverse()  : bool
traverseArray()  : void
enterNode()  : self::STOP_TRAVERSAL|self::DONT_TRAVERSE_CHILDREN|null

Constants

Methods

traverse()

public traverse(T &$node) : bool
Parameters
$node : T
Tags
template
param-out

T $node

psalm-suppress

ReferenceConstraintViolation

Return values
bool

traverseArray()

public traverseArray(T &$nodes) : void
Parameters
$nodes : T
Tags
template
param-out

T $nodes

enterNode()

protected abstract enterNode(T &$type) : self::STOP_TRAVERSAL|self::DONT_TRAVERSE_CHILDREN|null
Parameters
$type : T
Tags
template
param-out

T $type

Return values
self::STOP_TRAVERSAL|self::DONT_TRAVERSE_CHILDREN|null

        
On this page

Search results