2019-05-21 11:56:08 +00:00
|
|
|
|
|
|
|
#ifndef PORYGONLANG_DIAGNOSTICCODE_HPP
|
|
|
|
#define PORYGONLANG_DIAGNOSTICCODE_HPP
|
|
|
|
|
|
|
|
enum class DiagnosticCode{
|
2019-05-22 11:24:28 +00:00
|
|
|
// Lex diagnostics
|
2019-05-21 11:56:08 +00:00
|
|
|
UnexpectedCharacter,
|
2019-05-22 11:24:28 +00:00
|
|
|
InvalidStringControlCharacter,
|
|
|
|
|
|
|
|
// Parse diagnostics
|
2019-05-21 12:00:14 +00:00
|
|
|
UnexpectedToken,
|
2019-05-22 10:22:52 +00:00
|
|
|
|
2019-05-22 11:24:28 +00:00
|
|
|
// Bind diagnostics
|
2019-05-22 10:22:52 +00:00
|
|
|
NoBinaryOperationFound,
|
|
|
|
NoUnaryOperationFound,
|
2019-05-21 11:56:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //PORYGONLANG_DIAGNOSTICCODE_HPP
|