Lines Matching full:error
34 #include "error.h"
42 using Instructions = std::pair<std::vector<Ins>, Error>;
57 * Returns a program or an error value: Expected<Program, Error>
66 Expected<Program, Error> Parse(TokenSet &vectors_tokens, const std::string &file_name = "");
70 * Returns a program or an error value: Expected<Program, Error>
72 Expected<Program, Error> Parse(const std::string &source, const std::string &file_name = "");
75 * Returns a set error
77 Error ShowError() const in ShowError()
99 panda::pandasm::Error err_;
107 …inline Error GetError(const std::string &mess = "", Error::ErrorType err = Error::ErrorType::ERR_N…
110 return Error(mess, line_stric_, err, add_mess,
116 …inline void GetWarning(const std::string &mess = "", Error::ErrorType err = Error::ErrorType::ERR_…
122 … context_.tokens[context_.number - 1].whole_line, Error::ErrorClass::WARNING);
208 Expected<Program, Error> ParseAfterMainLoop(const std::string &file_name);
219 void SetMetadataContextError(const Metadata::Error &err, bool has_value);
221 Expected<char, Error> ParseOctalEscapeSequence(std::string_view s, size_t *i);
222 Expected<char, Error> ParseHexEscapeSequence(std::string_view s, size_t *i);
223 Expected<char, Error> ParseEscapeSequence(std::string_view s, size_t *i);