PHP Class PhpParser\Parser\MultipleTest

Inheritance: extends PhpParser\ParserTest
Show file Open project: nikic/php-parser

Public Methods

Method Description
provideTestParse ( )
testParse ( $code, Multiple $parser, $expected )
testThrownError ( )

Protected Methods

Method Description
getParser ( Lexer $lexer ) This provider is for the generic parser tests, just pick an arbitrary order here

Private Methods

Method Description
getPrefer5 ( )
getPrefer7 ( )

Method Details

getParser() protected method

This provider is for the generic parser tests, just pick an arbitrary order here
protected getParser ( Lexer $lexer )
$lexer PhpParser\Lexer

provideTestParse() public method

public provideTestParse ( )

testParse() public method

public testParse ( $code, Multiple $parser, $expected )
$parser Multiple

testThrownError() public method

public testThrownError ( )