ParserException
class ParserException extends Exception (View source)
'Fluent' exception for the Fusion Parser.
Constants
protected RESOURCE_PATH_TO_PACKAGE_AND_CLEANED_PATH_REGEXP |
|
Properties
protected | $fluentCode | ||
protected | $fluentMessageCreator | ||
protected | $fluentPrevious | ||
protected | $fluentFile | ||
protected | $fluentFusion | ||
protected | $fluentCursor | ||
protected | $fluentShowColumn | ||
protected | $headingMessagePart | ||
protected | $asciiPreviewMessagePart | ||
protected | $helperMessagePart |
Methods
__construct()
No description
string
getHeadingMessagePart()
No description
string
getAsciiPreviewMessagePart()
No description
string
getHelperMessagePart()
No description
setCode(int $code)
No description
setFile(string|null $file)
No description
setFusion(string $fusion)
No description
setCursor(int $cursor)
No description
setHideColumnInformation()
No description
setMessageCreator(callable $messageCreator)
No description
setMessage(string $message)
No description
build()
No description
string
renderAndInitializeFullMessage()
No description
static string
renderErrorLinePreview(string|null $fileName, string $currentLine, int $lineNumber, int $columnNumber, bool $renderColumnDetails = true)
No description
static string
generateHeadingByFileName(string|null $fileName)
No description
static array
splitAtCursorGetLinePartsAndLineNumber(string $string, int $cursor)
No description
Details
__construct()
No description
string
getHeadingMessagePart()
No description
string
getAsciiPreviewMessagePart()
No description
string
getHelperMessagePart()
No description
ParserException
setCode(int $code)
No description
ParserException
setFile(string|null $file)
No description
ParserException
setFusion(string $fusion)
No description
ParserException
setCursor(int $cursor)
No description
ParserException
setPrevious(Exception|null $previous)
No description
ParserException
setHideColumnInformation()
No description
ParserException
setMessageCreator(callable $messageCreator)
No description
ParserException
setMessage(string $message)
No description
ParserException
build()
No description
protected string
renderAndInitializeFullMessage()
No description
static protected string
renderErrorLinePreview(string|null $fileName, string $currentLine, int $lineNumber, int $columnNumber, bool $renderColumnDetails = true)
No description
static protected string
generateHeadingByFileName(string|null $fileName)
No description
static protected array
splitAtCursorGetLinePartsAndLineNumber(string $string, int $cursor)
No description