diff options
Diffstat (limited to 'python/libghdl/thin/vhdl/tokens.py')
-rw-r--r-- | python/libghdl/thin/vhdl/tokens.py | 203 |
1 files changed, 203 insertions, 0 deletions
diff --git a/python/libghdl/thin/vhdl/tokens.py b/python/libghdl/thin/vhdl/tokens.py new file mode 100644 index 000000000..572c3906d --- /dev/null +++ b/python/libghdl/thin/vhdl/tokens.py @@ -0,0 +1,203 @@ + + +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 + Arobase = 58 + Star = 59 + Slash = 60 + Mod = 61 + Rem = 62 + Abs = 63 + Not = 64 + Access = 65 + After = 66 + Alias = 67 + All = 68 + Architecture = 69 + Array = 70 + Assert = 71 + Attribute = 72 + Begin = 73 + Block = 74 + Body = 75 + Buffer = 76 + Bus = 77 + Case = 78 + Component = 79 + Configuration = 80 + Constant = 81 + Disconnect = 82 + Downto = 83 + Else = 84 + Elsif = 85 + End = 86 + Entity = 87 + Exit = 88 + File = 89 + For = 90 + Function = 91 + Generate = 92 + Generic = 93 + Guarded = 94 + If = 95 + In = 96 + Inout = 97 + Is = 98 + Label = 99 + Library = 100 + Linkage = 101 + Loop = 102 + Map = 103 + New = 104 + Next = 105 + Null = 106 + Of = 107 + On = 108 + Open = 109 + Others = 110 + Out = 111 + Package = 112 + Port = 113 + Procedure = 114 + Process = 115 + Range = 116 + Record = 117 + Register = 118 + Report = 119 + Return = 120 + Select = 121 + Severity = 122 + Signal = 123 + Subtype = 124 + Then = 125 + To = 126 + Transport = 127 + Type = 128 + Units = 129 + Until = 130 + Use = 131 + Variable = 132 + Wait = 133 + When = 134 + While = 135 + With = 136 + And = 137 + Or = 138 + Xor = 139 + Nand = 140 + Nor = 141 + Xnor = 142 + Group = 143 + Impure = 144 + Inertial = 145 + Literal = 146 + Postponed = 147 + Pure = 148 + Reject = 149 + Shared = 150 + Unaffected = 151 + Sll = 152 + Sla = 153 + Sra = 154 + Srl = 155 + Rol = 156 + Ror = 157 + Protected = 158 + Context = 159 + Parameter = 160 + Across = 161 + Break = 162 + Limit = 163 + Nature = 164 + Noise = 165 + Procedural = 166 + Quantity = 167 + Reference = 168 + Spectrum = 169 + Subnature = 170 + Terminal = 171 + Through = 172 + Tolerance = 173 + Psl_Default = 174 + Psl_Clock = 175 + Psl_Property = 176 + Psl_Sequence = 177 + Psl_Endpoint = 178 + Psl_Cover = 179 + Psl_Const = 180 + Psl_Boolean = 181 + Inf = 182 + Within = 183 + Abort = 184 + Before = 185 + Before_Em = 186 + Before_Un = 187 + Before_Em_Un = 188 + Until_Em = 189 + Until_Un = 190 + Until_Em_Un = 191 + Always = 192 + Never = 193 + Eventually = 194 + Next_A = 195 + Next_E = 196 + Next_Event = 197 + Next_Event_A = 198 + Next_Event_E = 199 |