Less_Exception_Compiler
extends Less_Exception_Parser
in package
Compiler Exception
Tags
Table of Contents
- $currentFile : Less_ImportedFile
- The current file
- $index : int
- The current parser index
- $details : mixed
- $input : mixed
- __construct() : mixed
- Constructor
- genMessage() : string
- Converts the exception to string
- getColumn() : int
- Returns the column the error was encountered
- getLineNumber() : int
- Returns the line number the error was encountered
- getInput() : mixed
Properties
$currentFile
The current file
public
Less_ImportedFile
$currentFile
$index
The current parser index
public
int
$index
$details
protected
mixed
$details
= array()
$input
protected
mixed
$input
Methods
__construct()
Constructor
public
__construct([string $message = null ][, Exception $previous = null ][, int $index = null ][, Less_FileInfo|string $currentFile = null ], int $code) : mixed
Parameters
- $message : string = null
- $previous : Exception = null
-
Previous exception
- $index : int = null
-
The current parser index
- $currentFile : Less_FileInfo|string = null
-
The file
- $code : int
-
The exception code
Return values
mixed —genMessage()
Converts the exception to string
public
genMessage() : string
Return values
string —getColumn()
Returns the column the error was encountered
public
getColumn() : int
Return values
int —getLineNumber()
Returns the line number the error was encountered
public
getLineNumber() : int
Return values
int —getInput()
protected
getInput() : mixed