PHP 클래스 Transphpile\Transpile\NodeStateStack

In some occasions (like during anonymous classes), we actually traverse a part of the subtree manually so we need to "store" the original global variables, and use new global variables for that traversal. Once completed, we return to the original global variables.
파일 보기 프로젝트 열기: jaytaph/Transphpile 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$vars

공개 메소드들

메소드 설명
count ( $name )
end ( $name )
get ( $name ) : mixed
getInstance ( ) : NodeStateStack We can only reach the nodeStackState class through a ::getInstance() call.
pop ( $name )
popVars ( )
push ( $name, $value )
pushVars ( )
set ( $name, $value )

비공개 메소드들

메소드 설명
__clone ( )
__construct ( )
__wakeup ( )

메소드 상세

count() 공개 메소드

public count ( $name )

end() 공개 메소드

public end ( $name )

get() 공개 메소드

public get ( $name ) : mixed
$name
리턴 mixed

getInstance() 공개 정적인 메소드

We can only reach the nodeStackState class through a ::getInstance() call.
public static getInstance ( ) : NodeStateStack
리턴 NodeStateStack

pop() 공개 메소드

public pop ( $name )

popVars() 공개 메소드

public popVars ( )

push() 공개 메소드

public push ( $name, $value )

pushVars() 공개 메소드

public pushVars ( )

set() 공개 메소드

public set ( $name, $value )
$name
$value

프로퍼티 상세

$vars 보호되어 있는 프로퍼티

protected $vars