コード例 #1
0
ファイル: ParseError.php プロジェクト: reinvanoyen/aegis
 public function __construct($message, $srcLine = 0)
 {
     parent::__construct($message . ' on line ' . $srcLine);
     $this->srcLine = $srcLine;
 }
コード例 #2
0
 public function __construct($tokenType)
 {
     parent::__construct('Invalid token type ' . $tokenType);
     $this->tokenType = $tokenType;
 }
コード例 #3
0
ファイル: NoTokenAtIndex.php プロジェクト: reinvanoyen/aegis
 public function __construct($index)
 {
     parent::__construct('No token found in the TokenStream at index ' . $index);
 }