PHP Class PhpParser\ParserTest

Inheritance: extends phpparser\CodeTestAbstract
Afficher le fichier Open project: nikic/php-parser

Méthodes publiques

Méthode Description
provideTestExtraAttributes ( )
testAttributeAssignment ( )
testExtraAttributes ( $code, $expectedAttributes )
testInvalidToken ( )
testParserThrowsLexerError ( )
testParserThrowsSpecialError ( )
testParserThrowsSyntaxError ( )

Méthodes protégées

Méthode Description
getParser ( Lexer $lexer )

Method Details

getParser() abstract protected méthode

abstract protected getParser ( Lexer $lexer )
$lexer Lexer

provideTestExtraAttributes() public méthode

testAttributeAssignment() public méthode

testExtraAttributes() public méthode

public testExtraAttributes ( $code, $expectedAttributes )

testInvalidToken() public méthode

public testInvalidToken ( )

testParserThrowsLexerError() public méthode

testParserThrowsSpecialError() public méthode

testParserThrowsSyntaxError() public méthode