wikimedia/less.php
PHP port of the LESS processor
Loading...
Searching...
No Matches
Less_Exception_Parser Class Reference

Parser Exception. More...

+ Inheritance diagram for Less_Exception_Parser:

Public Member Functions

 __construct ( $message=null, ?Exception $previous=null, $index=null, $currentFile=null, $code=0)
 
 genMessage ()
 Set a message based on the exception info.
 
 getLineNumber ()
 Returns the line number the error was encountered.
 
 getColumn ()
 Returns the column the error was encountered.
 

Public Attributes

 $currentFile
 
 $index
 

Protected Member Functions

 getInput ()
 

Protected Attributes

 $input
 
 $details = []
 

Detailed Description

Parser Exception.

Constructor & Destructor Documentation

◆ __construct()

Less_Exception_Parser::__construct ( $message = null,
?Exception $previous = null,
$index = null,
$currentFile = null,
$code = 0 )
Parameters
string | null$message
Exception | null$previousPrevious exception
int | null$indexThe current parser index
array | null$currentFileThe file
int$codeThe exception code

Member Function Documentation

◆ getColumn()

Less_Exception_Parser::getColumn ( )

Returns the column the error was encountered.

Returns
int

◆ getLineNumber()

Less_Exception_Parser::getLineNumber ( )

Returns the line number the error was encountered.

Returns
int

The documentation for this class was generated from the following file: