1 //
2 // Copyright (c) 2010-2025 Antmicro
3 //
4 // This file is licensed under the MIT License.
5 // Full license text is available in 'licenses/MIT.txt'.
6 //
7 using System;
8 namespace Antmicro.Renode.PlatformDescription
9 {
10     public enum ParsingError
11     {
12         SyntaxError = 0,
13         VariableNeverDeclared = 1,
14         VariableAlreadyDeclared = 2,
15         EmptyEntry = 3,
16         TypeNotResolved = 4,
17         NoUsableRegisterInterface = 5,
18         TypeMismatch = 6,
19         PropertyNotWritable = 7,
20         WrongIrqArity = 8,
21         PropertyOrCtorNameUsedMoreThanOnce = 9,
22         PropertyDoesNotExist = 10,
23         IrqDestinationDoesNotExist = 11,
24         IrqDestinationIsNotIrqReceiver = 12,
25         IrqSourceDoesNotExist = 13,
26         IrqSourceIsNotNumberedGpioOutput = 14,
27         AmbiguousDefaultIrqSource = 15,
28         IrqSourceUsedMoreThanOnce = 16,
29         DuplicateUsing = 17,
30         NotLocalGpioReceiver = 18,
31         MoreThanOneInitAttribute = 19,
32         MissingReference = 20,
33         NoCtorForRegistrationPoint = 21,
34         AmbiguousCtorForRegistrationPoint = 22,
35         EnumMismatch = 23,
36         CreationOrderCycle = 24,
37         NoCtor = 25,
38         AmbiguousCtor = 26,
39         InternalError = 27,
40         AmbiguousRegistrationPointType = 28,
41         InitSectionValidationError = 29,
42         RecurringUsing = 30,
43         InternalPrelexerError = 31,
44         WrongIndent = 32,
45         AliasWithoutRegistration = 33,
46         AliasWithNoneRegistration = 34,
47         CtorAttributesInNonCreatingEntry = 35,
48         UsingFileNotFound = 36,
49         AmbiguousRegistree = 37,
50         ConstructionException = 38,
51         RegistrationException = 39,
52         PropertySettingException = 40,
53         NameSettingException = 41,
54         CastException = 42,
55         IrqSourcePinDoesNotExist = 43,
56         UninitializedSourceIrqObject = 44,
57         RegistrationOrderCycle = 45,
58         AliasedAndNormalArgumentName = 46,
59     }
60 }
61