Documentation

TypeVisitor
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

DONT_TRAVERSE_CHILDREN

public mixed DONT_TRAVERSE_CHILDREN = 2

Methods

traverseArray()

public traverseArray(array<string|int, mixed> $nodes) : void
Parameters
$nodes : array<string|int, mixed>
Tags
psalm-external-mutation-free

enterNode()

protected abstract enterNode(TypeNode $type) : self::STOP_TRAVERSAL|self::DONT_TRAVERSE_CHILDREN|null
Parameters
$type : TypeNode
Return values
self::STOP_TRAVERSAL|self::DONT_TRAVERSE_CHILDREN|null

        
On this page

Search results