\Less_Exception_Chunk

Chunk Exception

Summary

Methods
Properties
Constants
__construct()
genMessage()
getLineNumber()
getColumn()
CharCode()
fail()
$currentFile
$index
No constants found
getInput()
Chunks()
$input
$details
$parserCurrentIndex
$emitFrom
$input_len
N/A
No private methods found
No private properties found
N/A

Properties

$currentFile

$currentFile : \Less_ImportedFile

The current file

Type

\Less_ImportedFile

$index

$index : integer

The current parser index

Type

integer

$input

$input : 

Type

$details

$details : 

Type

$parserCurrentIndex

$parserCurrentIndex : 

Type

$emitFrom

$emitFrom : 

Type

$input_len

$input_len : 

Type

Methods

__construct()

__construct(string  $input, \Exception  $previous = null, integer  $index = null, \Less_FileInfo|string  $currentFile = null, integer  $code) 

Constructor

Parameters

string $input
\Exception $previous

Previous exception

integer $index

The current parser index

\Less_FileInfo|string $currentFile

The file

integer $code

The exception code

genMessage()

genMessage() : string

Converts the exception to string

Returns

string

getLineNumber()

getLineNumber() : integer

Returns the line number the error was encountered

Returns

integer

getColumn()

getColumn() : integer

Returns the column the error was encountered

Returns

integer

CharCode()

CharCode(  $pos) 

Parameters

$pos

fail()

fail(  $msg,   $index = null) 

Parameters

$msg
$index

getInput()

getInput() 

Chunks()

Chunks() 

See less.js chunks() We don't actually need the chunks