PHP Класс PhpCss\Ast\Visitor\Overload

Наследование: implements PhpCss\Ast\Visitor
Показать файл Открыть проект

Открытые методы

Метод Описание
visit ( Ast $ast ) : boolean Visiting the $ast element
visitEnter ( Ast $ast ) : boolean Entering an element in the ast, called before visiting children
visitLeave ( Ast $ast ) : boolean Entering an element in the ast, called after visiting children

Защищенные методы

Метод Описание
getMethodByClass ( Ast $object, string $prefix = 'visit' ) : array | null Map the class name of the PhpCssAst instance to a method name, validate if it exists and return it as callback.

Описание методов

getMethodByClass() защищенный Метод

Map the class name of the PhpCssAst instance to a method name, validate if it exists and return it as callback.
protected getMethodByClass ( Ast $object, string $prefix = 'visit' ) : array | null
$object PhpCss\Ast
$prefix string
Результат array | null

visit() публичный Метод

Visiting the $ast element
public visit ( Ast $ast ) : boolean
$ast PhpCss\Ast
Результат boolean

visitEnter() публичный Метод

Entering an element in the ast, called before visiting children
public visitEnter ( Ast $ast ) : boolean
$ast PhpCss\Ast
Результат boolean

visitLeave() публичный Метод

Entering an element in the ast, called after visiting children
public visitLeave ( Ast $ast ) : boolean
$ast PhpCss\Ast
Результат boolean