Documentation

ParserTest extends PHPUnit_Framework_TestCase
in package

Tags
covers

Table of Contents

testHandlesEmptyExpressions()  : mixed
testMatchesAfterFirstToken()  : mixed
testMatchesFirstTokens()  : mixed
testThrowsSyntaxErrorForInvalidSequence()  : mixed

Methods

testHandlesEmptyExpressions()

public testHandlesEmptyExpressions() : mixed
Tags
expectedException

\JmesPath\SyntaxErrorException

expectedExceptionMessage

Unexpected "eof" token

Return values
mixed

testMatchesAfterFirstToken()

public testMatchesAfterFirstToken() : mixed
Tags
expectedException

\JmesPath\SyntaxErrorException

expectedExceptionMessage

Syntax error at character 2

Return values
mixed

testMatchesFirstTokens()

public testMatchesFirstTokens() : mixed
Tags
expectedException

\JmesPath\SyntaxErrorException

expectedExceptionMessage

Syntax error at character 0

Return values
mixed

testThrowsSyntaxErrorForInvalidSequence()

public testThrowsSyntaxErrorForInvalidSequence() : mixed
Tags
expectedException

\JmesPath\SyntaxErrorException

expectedExceptionMessage

Syntax error at character 1

Return values
mixed

Search results