\PhugParserException

Represents an exception that is thrown during the parsing process.

Summary

Methods
Properties
Constants
__construct()
getLocation()
getRelatedToken()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$location
$relatedToken
N/A

Properties

$location

$location : 

Type

$relatedToken

$relatedToken : 

Type

Methods

__construct()

__construct(\Phug\Util\SourceLocation  $location,   $message = '',   $code, \Phug\Lexer\TokenInterface  $relatedToken = null,   $previous = null) 

Parameters

\Phug\Util\SourceLocation $location
$message
$code
\Phug\Lexer\TokenInterface $relatedToken
$previous