Searched refs:err_ (Results 1 – 7 of 7) sorted by relevance
24 if (std::holds_alternative<std::string>(err_)) { in ToString()25 return std::get<std::string>(err_); in ToString()28 int err = std::get<int>(err_); in ToString()
28 explicit Error(int err) : err_(err) {} in Error()30 explicit Error(std::string msg) : err_(std::move(msg)) {} in Error()40 std::variant<int, std::string> err_;
30 if (std::holds_alternative<std::string>(err_)) { in ToString()31 return std::get<std::string>(err_); in ToString()34 int err = std::get<int>(err_); in ToString()
103 Error err_; variable
79 return err_; in ShowError()99 panda::pandasm::Error err_; variable
187 return std::pair<std::vector<Token>, Error>(lines_.back().tokens, err_); in TokenizeString()250 err_ = Error(std::string("Missing terminating ") + quote + " character", 0, in LexString()
654 if (open_ || err_.err != Error::ErrorType::ERR_NONE) { in ParseResetFunctionLabelsAndParams()770 if (err_.err != Error::ErrorType::ERR_NONE) { in ParseResetTables()776 if (err_.err != Error::ErrorType::ERR_NONE) { in ParseResetTables()944 if (!context_.Mask() && err_.err == Error::ErrorType::ERR_NONE) { in ParseAfterLine()948 if (err_.err != Error::ErrorType::ERR_NONE) { in ParseAfterLine()966 if (open_ && err_.err == Error::ErrorType::ERR_NONE) { in ParseAfterMainLoop()974 if (err_.err != Error::ErrorType::ERR_NONE) { in ParseAfterMainLoop()975 return Unexpected(err_); in ParseAfterMainLoop()1075 err_ = context_.err; in SetError()