public function __construct($sInput, $iLine, $iCol, $sUnexpected) { parent::__construct("Syntax error", $sInput, $iLine, $iCol, $sUnexpected); }
public function __construct($sInput, $iLine, $iCol, $sTokenName, $sTokenValue) { $sIssue = "Unexpected token {$sTokenName}"; parent::__construct($sIssue, $sInput, $iLine, $iCol, $sTokenValue); }
public function __construct($sIssue, $sInput, OqlName $oName, $aExpecting = null) { parent::__construct($sIssue, $sInput, 0, $oName->GetPos(), $oName->GetValue(), $aExpecting); }