aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/vhdl/tokens.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/libghdl/vhdl/tokens.py')
-rw-r--r--pyGHDL/libghdl/vhdl/tokens.py220
1 files changed, 220 insertions, 0 deletions
diff --git a/pyGHDL/libghdl/vhdl/tokens.py b/pyGHDL/libghdl/vhdl/tokens.py
new file mode 100644
index 000000000..002e7ca82
--- /dev/null
+++ b/pyGHDL/libghdl/vhdl/tokens.py
@@ -0,0 +1,220 @@
+class Tok:
+ Invalid = 0
+ Left_Paren = 1
+ Right_Paren = 2
+ Left_Bracket = 3
+ Right_Bracket = 4
+ Colon = 5
+ Semi_Colon = 6
+ Comma = 7
+ Double_Arrow = 8
+ Tick = 9
+ Double_Star = 10
+ Assign = 11
+ Bar = 12
+ Box = 13
+ Dot = 14
+ Equal_Equal = 15
+ Eof = 16
+ Newline = 17
+ Line_Comment = 18
+ Block_Comment = 19
+ Character = 20
+ Identifier = 21
+ Integer = 22
+ Real = 23
+ String = 24
+ Bit_String = 25
+ Integer_Letter = 26
+ Equal = 27
+ Not_Equal = 28
+ Less = 29
+ Less_Equal = 30
+ Greater = 31
+ Greater_Equal = 32
+ Match_Equal = 33
+ Match_Not_Equal = 34
+ Match_Less = 35
+ Match_Less_Equal = 36
+ Match_Greater = 37
+ Match_Greater_Equal = 38
+ Plus = 39
+ Minus = 40
+ Ampersand = 41
+ Condition = 42
+ Double_Less = 43
+ Double_Greater = 44
+ Caret = 45
+ And_And = 46
+ Bar_Bar = 47
+ Left_Curly = 48
+ Right_Curly = 49
+ Exclam_Mark = 50
+ Brack_Star = 51
+ Brack_Plus_Brack = 52
+ Brack_Arrow = 53
+ Brack_Equal = 54
+ Bar_Arrow = 55
+ Bar_Double_Arrow = 56
+ Minus_Greater = 57
+ Equiv_Arrow = 58
+ Arobase = 59
+ Star = 60
+ Slash = 61
+ Mod = 62
+ Rem = 63
+ Abs = 64
+ Not = 65
+ Access = 66
+ After = 67
+ Alias = 68
+ All = 69
+ Architecture = 70
+ Array = 71
+ Assert = 72
+ Attribute = 73
+ Begin = 74
+ Block = 75
+ Body = 76
+ Buffer = 77
+ Bus = 78
+ Case = 79
+ Component = 80
+ Configuration = 81
+ Constant = 82
+ Disconnect = 83
+ Downto = 84
+ Else = 85
+ Elsif = 86
+ End = 87
+ Entity = 88
+ Exit = 89
+ File = 90
+ For = 91
+ Function = 92
+ Generate = 93
+ Generic = 94
+ Guarded = 95
+ If = 96
+ In = 97
+ Inout = 98
+ Is = 99
+ Label = 100
+ Library = 101
+ Linkage = 102
+ Loop = 103
+ Map = 104
+ New = 105
+ Next = 106
+ Null = 107
+ Of = 108
+ On = 109
+ Open = 110
+ Others = 111
+ Out = 112
+ Package = 113
+ Port = 114
+ Procedure = 115
+ Process = 116
+ Range = 117
+ Record = 118
+ Register = 119
+ Report = 120
+ Return = 121
+ Select = 122
+ Severity = 123
+ Signal = 124
+ Subtype = 125
+ Then = 126
+ To = 127
+ Transport = 128
+ Type = 129
+ Units = 130
+ Until = 131
+ Use = 132
+ Variable = 133
+ Wait = 134
+ When = 135
+ While = 136
+ With = 137
+ And = 138
+ Or = 139
+ Xor = 140
+ Nand = 141
+ Nor = 142
+ Xnor = 143
+ Group = 144
+ Impure = 145
+ Inertial = 146
+ Literal = 147
+ Postponed = 148
+ Pure = 149
+ Reject = 150
+ Shared = 151
+ Unaffected = 152
+ Sll = 153
+ Sla = 154
+ Sra = 155
+ Srl = 156
+ Rol = 157
+ Ror = 158
+ Protected = 159
+ Assume = 160
+ Context = 161
+ Cover = 162
+ Default = 163
+ Force = 164
+ Parameter = 165
+ Property = 166
+ Release = 167
+ Restrict = 168
+ Restrict_Guarantee = 169
+ Sequence = 170
+ Vmode = 171
+ Vprop = 172
+ Vunit = 173
+ Across = 174
+ Break = 175
+ Limit = 176
+ Nature = 177
+ Noise = 178
+ Procedural = 179
+ Quantity = 180
+ Reference = 181
+ Spectrum = 182
+ Subnature = 183
+ Terminal = 184
+ Through = 185
+ Tolerance = 186
+ Psl_Clock = 187
+ Psl_Endpoint = 188
+ Psl_Const = 189
+ Psl_Boolean = 190
+ Inf = 191
+ Within = 192
+ Abort = 193
+ Before = 194
+ Before_Em = 195
+ Before_Un = 196
+ Before_Em_Un = 197
+ Always = 198
+ Never = 199
+ Eventually_Em = 200
+ Next_Em = 201
+ Next_A = 202
+ Next_A_Em = 203
+ Next_E = 204
+ Next_E_Em = 205
+ Next_Event = 206
+ Next_Event_Em = 207
+ Next_Event_A = 208
+ Next_Event_A_Em = 209
+ Next_Event_E = 210
+ Next_Event_E_Em = 211
+ Until_Em = 212
+ Until_Un = 213
+ Until_Em_Un = 214
+ Prev = 215
+ Stable = 216
+ Fell = 217
+ Rose = 218