PHP Класс PhpParser\Lexer\Emulative

Наследование: extends PhpParser\Lexer
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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