PHP Class PhpParser\ParserTest

Inheritance: extends phpparser\CodeTestAbstract
Show file Open project: nikic/php-parser

Public Methods

Method Description
provideTestExtraAttributes ( )
testAttributeAssignment ( )
testExtraAttributes ( $code, $expectedAttributes )
testInvalidToken ( )
testParserThrowsLexerError ( )
testParserThrowsSpecialError ( )
testParserThrowsSyntaxError ( )

Protected Methods

Method Description
getParser ( Lexer $lexer )

Method Details

getParser() abstract protected method

abstract protected getParser ( Lexer $lexer )
$lexer Lexer

provideTestExtraAttributes() public method

testAttributeAssignment() public method

testExtraAttributes() public method

public testExtraAttributes ( $code, $expectedAttributes )

testInvalidToken() public method

public testInvalidToken ( )

testParserThrowsLexerError() public method

testParserThrowsSpecialError() public method

testParserThrowsSyntaxError() public method