grammarDecisionDescription = $grammarDecisionDescription; $this->decisionNumber = $decisionNumber; $this->stateNumber = $stateNumber; } public function __toString() { if ( $this->input instanceof CharStream ) { return "NoViableAltException('".$this->getUnexpectedType()."'@[".$this->grammarDecisionDescription."])"; } else { return "NoViableAltException(".$this->getUnexpectedType()."@[".$this->grammarDecisionDescription."])"; } } } ?>