PHP Класс PDepend\Source\Language\PHP\PHPParserVersion56

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

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

Метод Описание
parseExpressionVersion56 ( ) : PDepend\Source\AST\ASTNode In this method we implement parsing of PHP 5.6 specific expressions.
parseOptionalExpressionForVersion ( ) : PDepend\Source\AST\ASTNode This method will be called when the base parser cannot handle an expression in the base version. In this method you can implement version specific expressions.
parseStaticValueVersionSpecific ( PDepend\Source\AST\ASTValue $value ) : PDepend\Source\AST\ASTValue Parses additional static values that are valid in the supported php version.
parseUseDeclarations ( ) : void Parses use declarations that are valid in the supported php version.

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

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

In this method we implement parsing of PHP 5.6 specific expressions.
С версии: 2.3
protected parseExpressionVersion56 ( ) : PDepend\Source\AST\ASTNode
Результат PDepend\Source\AST\ASTNode

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

This method will be called when the base parser cannot handle an expression in the base version. In this method you can implement version specific expressions.
С версии: 2.2
protected parseOptionalExpressionForVersion ( ) : PDepend\Source\AST\ASTNode
Результат PDepend\Source\AST\ASTNode

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

Parses additional static values that are valid in the supported php version.
protected parseStaticValueVersionSpecific ( PDepend\Source\AST\ASTValue $value ) : PDepend\Source\AST\ASTValue
$value PDepend\Source\AST\ASTValue
Результат PDepend\Source\AST\ASTValue

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

Parses use declarations that are valid in the supported php version.
protected parseUseDeclarations ( ) : void
Результат void