Hoa central
Public Member Functions | Protected Attributes | List of all members
Hoa\Compiler\Exception\UnrecognizedToken Class Reference
Inheritance diagram for Hoa\Compiler\Exception\UnrecognizedToken:

Public Member Functions

 __construct ($message, $code, $arg, $line, $column)
 
 getColumn ()
 

Protected Attributes

 $column = 0
 

Detailed Description

Class .

Extending the class.

Definition at line 47 of file UnrecognizedToken.php.

Constructor & Destructor Documentation

Hoa\Compiler\Exception\UnrecognizedToken::__construct (   $message,
  $code,
  $arg,
  $line,
  $column 
)

Override line and add column support.

Parameters
string$messageFormatted message.
int$codeCode (the ID).
array$argRaiseError string arguments.
int$lineLine.
int$columnColumn.
Returns
void

Definition at line 68 of file UnrecognizedToken.php.

69  {
70  parent::__construct($message, $code, $arg);
71 
72  $this->line = $line;
73  $this->column = $column;
74 
75  return;
76  }

Member Function Documentation

Hoa\Compiler\Exception\UnrecognizedToken::getColumn ( )

Get column.

Returns
int

Definition at line 83 of file UnrecognizedToken.php.

Member Data Documentation

Hoa\Compiler\Exception\UnrecognizedToken::$column = 0
protected

Definition at line 54 of file UnrecognizedToken.php.


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