PHP 클래스 PhpParser\Lexer\Emulative

상속: extends PhpParser\Lexer
파일 보기 프로젝트 열기: nikic/php-parser 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$inObjectAccess
$newKeywords

공개 메소드들

메소드 설명
__construct ( array $options = [] )
getNextToken ( &$value = null, &$startAttributes = null, &$endAttributes = null )
startLexing ( $code, PhpParser\ErrorHandler $errorHandler = null )

보호된 메소드들

메소드 설명
emulateTokens ( ) * Emulates tokens for newer PHP versions.
requiresEmulation ( $code ) * Checks if the code is potentially using features that require emulation.

메소드 상세

__construct() 공개 메소드

public __construct ( array $options = [] )
$options array

emulateTokens() 보호된 메소드

* Emulates tokens for newer PHP versions.
protected emulateTokens ( )

getNextToken() 공개 메소드

public getNextToken ( &$value = null, &$startAttributes = null, &$endAttributes = null )

requiresEmulation() 보호된 메소드

* Checks if the code is potentially using features that require emulation.
protected requiresEmulation ( $code )

startLexing() 공개 메소드

public startLexing ( $code, PhpParser\ErrorHandler $errorHandler = null )
$errorHandler PhpParser\ErrorHandler

프로퍼티 상세

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

protected $inObjectAccess

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

protected $newKeywords