Documentation

TplScriptCodeInterpreterSyntaxError extends TplScriptCodeInterpreterError
in package

Table of Contents

MESSAGE_TYPE_CODE  = 2
MESSAGE_TYPE_FRAGMENT  = 3
MESSAGE_TYPE_MISSING_CONDITION  = 5
MESSAGE_TYPE_MISSING_OPERATOR  = 4
MESSAGE_TYPE_MULTIPLE_ALTERNATIVES  = 7
MESSAGE_TYPE_MULTIPLE_CONDITIONS  = 6
MESSAGE_TYPE_TEMPLATE  = 1
MESSAGE_TYPE_UNDEFINED  = 0
$errorIndex  : int
$errorMessage  : string
__construct()  : mixed
TplScriptCodeInterpreterSyntaxError constructor.
__toString()  : mixed
errorMessage()  : string
toString()  : string

Constants

Properties

$errorIndex

public int $errorIndex

$errorMessage

public string $errorMessage

Methods

__construct()

TplScriptCodeInterpreterSyntaxError constructor.

public __construct([string $message = '' ][, int $messageType = self::MESSAGE_TYPE_UNDEFINED ], int $code[, Throwable|null $previous = null ][, array<string|int, mixed>|string|int|null $args = null ][, bool $passPrevious = false ]) : mixed
Parameters
$message : string = ''
$messageType : int = self::MESSAGE_TYPE_UNDEFINED
$code : int
$previous : Throwable|null = null
$args : array<string|int, mixed>|string|int|null = null
$passPrevious : bool = false
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

errorMessage()

public errorMessage() : string
Return values
string

toString()

private toString() : string
Return values
string

Search results