PHP Class PDepend\Source\Language\PHP\PHPParserVersion56

Since: 2.3
Inheritance: extends PHPParserVersion55
Datei anzeigen Open project: pdepend/pdepend Class Usage Examples

Protected Methods

Method Description
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.

Method Details

parseExpressionVersion56() protected method

In this method we implement parsing of PHP 5.6 specific expressions.
Since: 2.3
protected parseExpressionVersion56 ( ) : PDepend\Source\AST\ASTNode
return PDepend\Source\AST\ASTNode

parseOptionalExpressionForVersion() protected method

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.
Since: 2.2
protected parseOptionalExpressionForVersion ( ) : PDepend\Source\AST\ASTNode
return PDepend\Source\AST\ASTNode

parseStaticValueVersionSpecific() protected method

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
return PDepend\Source\AST\ASTValue

parseUseDeclarations() protected method

Parses use declarations that are valid in the supported php version.
protected parseUseDeclarations ( ) : void
return void