PHP 클래스 PhpCss\Ast\Visitor\Overload

상속: implements PhpCss\Ast\Visitor
파일 보기 프로젝트 열기: ThomasWeinert/PhpCss

공개 메소드들

메소드 설명
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