Documentation

ParserTest extends TestCase
in package

Table of Contents

provideTestExtraAttributes()  : mixed
testAttributeAssignment()  : mixed
testExtraAttributes()  : mixed
testInvalidToken()  : mixed
testParserThrowsLexerError()  : mixed
testParserThrowsSpecialError()  : mixed
testParserThrowsSyntaxError()  : mixed
getParser()  : mixed

Methods

provideTestExtraAttributes()

public provideTestExtraAttributes() : mixed
Return values
mixed

testAttributeAssignment()

public testAttributeAssignment() : mixed
Return values
mixed

testExtraAttributes()

public testExtraAttributes(mixed $code, mixed $expectedAttributes) : mixed
Parameters
$code : mixed
$expectedAttributes : mixed
Tags
dataProvider

provideTestExtraAttributes

Return values
mixed

testInvalidToken()

public testInvalidToken() : mixed
Return values
mixed

testParserThrowsLexerError()

public testParserThrowsLexerError() : mixed
Return values
mixed

testParserThrowsSpecialError()

public testParserThrowsSpecialError() : mixed
Return values
mixed

testParserThrowsSyntaxError()

public testParserThrowsSyntaxError() : mixed
Return values
mixed

getParser()

protected abstract getParser(Lexer $lexer) : mixed
Parameters
$lexer : Lexer
Tags
returns

Parser

Return values
mixed

Search results