Less_Exception_Chunk
extends Less_Exception_Parser
in package
Chunk Exception
Tags
Table of Contents
- $currentFile : Less_ImportedFile
- The current file
- $index : int
- The current parser index
- $details : mixed
- $emitFrom : mixed
- $input : mixed
- $input_len : mixed
- $parserCurrentIndex : mixed
- __construct() : mixed
- Constructor
- CharCode() : mixed
- fail() : mixed
- 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
- Chunks() : mixed
- See less.js chunks() We don't actually need the chunks
- getInput() : mixed
Properties
$currentFile
The current file
public
Less_ImportedFile
$currentFile
$index
The current parser index
public
int
$index
$details
protected
mixed
$details
= array()
$emitFrom
protected
mixed
$emitFrom
= 0
$input
protected
mixed
$input
$input_len
protected
mixed
$input_len
$parserCurrentIndex
protected
mixed
$parserCurrentIndex
= 0
Methods
__construct()
Constructor
public
__construct(string $input[, Exception $previous = null ][, int $index = null ][, Less_FileInfo|string $currentFile = null ], int $code) : mixed
Parameters
- $input : string
- $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 —CharCode()
public
CharCode(mixed $pos) : mixed
Parameters
- $pos : mixed
Return values
mixed —fail()
public
fail(mixed $msg[, mixed $index = null ]) : mixed
Parameters
- $msg : mixed
- $index : mixed = null
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 —Chunks()
See less.js chunks() We don't actually need the chunks
protected
Chunks() : mixed
Return values
mixed —getInput()
protected
getInput() : mixed