1 /* 2 * Copyright (c) 2025 Shenzhen Kaihong Digital. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 package utils; 17 18 /** 19 * <h3>类名:该类用于xxx</h3> 20 * description typescript token 21 * 22 * @author Administrator 23 * date 2025-02-28 24 * @version 1.0 25 * @since 2025-02-28 26 */ 27 28 public class TsToken { 29 /** 30 * enum token 31 */ 32 public static final String TS_TOKEN_ENUM = "enum"; 33 34 /** 35 * class token 36 */ 37 public static final String TS_TOKEN_CLASS = "class"; 38 39 /** 40 * extends token 41 */ 42 public static final String TS_TOKEN_EXTENDS = "extends"; 43 44 /** 45 * super token 46 */ 47 public static final String TS_TOKEN_SUPER = "super"; 48 49 /** 50 * const token 51 */ 52 public static final String TS_TOKEN_CONST = "const"; 53 54 /** 55 * export token 56 */ 57 public static final String TS_TOKEN_EXPORT = "export"; 58 59 /** 60 * import token 61 */ 62 public static final String TS_TOKEN_IMPORT = "import"; 63 64 /** 65 * implements token 66 */ 67 public static final String TS_TOKEN_IMPLEMENT = "implements"; 68 69 /** 70 * let token 71 */ 72 public static final String TS_TOKEN_LET = "let"; 73 74 /** 75 * private token 76 */ 77 public static final String TS_TOKEN_PRIVATE = "private"; 78 79 /** 80 * public token 81 */ 82 public static final String TS_TOKEN_PUBLIC = "public"; 83 84 /** 85 * interface token 86 */ 87 public static final String TS_TOKEN_INTERFACE = "interface"; 88 89 /** 90 * package token 91 */ 92 public static final String TS_TOKEN_PACKAGE = "package"; 93 94 /** 95 * protected token 96 */ 97 public static final String TS_TOKEN_PROTECTED = "protected"; 98 99 /** 100 * static token 101 */ 102 public static final String TS_TOKEN_STATIC = "static"; 103 104 /** 105 * any token 106 */ 107 public static final String TS_TOKEN_ANY = "any"; 108 109 /** 110 * number token 111 */ 112 public static final String TS_TOKEN_NUMBER = "number"; 113 114 /** 115 * never token 116 */ 117 public static final String TS_TOKEN_NEVER = "never"; 118 119 /** 120 * boolean token 121 */ 122 public static final String TS_TOKEN_BOOLEAN = "boolean"; 123 124 /** 125 * string token 126 */ 127 public static final String TS_TOKEN_STRING = "string"; 128 129 /** 130 * unique token 131 */ 132 public static final String TS_TOKEN_UNIQUE = "unique"; 133 134 /** 135 * symbol token 136 */ 137 public static final String TS_TOKEN_SYMBOL = "symbol"; 138 139 /** 140 * undefined token 141 */ 142 public static final String TS_TOKEN_UNDEFINED = "undefined"; 143 144 /** 145 * object token 146 */ 147 public static final String TS_TOKEN_OBJECT = "object"; 148 149 /** 150 * of token 151 */ 152 public static final String TS_TOKEN_OF = "of"; 153 154 /** 155 * keyof token 156 */ 157 public static final String TS_TOKEN_KEYOF = "keyof"; 158 159 /** 160 * type token 161 */ 162 public static final String TS_TOKEN_TYPE = "type"; 163 164 /** 165 * constructor token 166 */ 167 public static final String TS_TOKEN_CONSTRUCTOR = "constructor"; 168 169 /** 170 * namespace token 171 */ 172 public static final String TS_TOKEN_NAMESPACE = "namespace"; 173 174 /** 175 * require token 176 */ 177 public static final String TS_TOKEN_REQUIRE = "require"; 178 179 /** 180 * module token 181 */ 182 public static final String TS_TOKEN_MODULE = "module"; 183 184 /** 185 * declare token 186 */ 187 public static final String TS_TOKEN_DECLARE = "declare"; 188 189 /** 190 * abstract token 191 */ 192 public static final String TS_TOKEN_ABSTRACT = "abstract"; 193 194 /** 195 * IS token 196 */ 197 public static final String TS_TOKEN_IS = "is"; 198 199 /** 200 * null token 201 */ 202 public static final String TS_TOKEN_NULL = "null"; 203 204 /** 205 * break token 206 */ 207 public static final String TS_TOKEN_BREAK = "break"; 208 209 /** 210 * do token 211 */ 212 public static final String TS_TOKEN_DO = "do"; 213 214 /** 215 * instanceof token 216 */ 217 public static final String TS_TOKEN_INSTANCEOF = "instanceof"; 218 219 /** 220 * typeof token 221 */ 222 public static final String TS_TOKEN_TYPEOF = "typeof"; 223 224 /** 225 * case token 226 */ 227 public static final String TS_TOKEN_CASE = "case"; 228 229 /** 230 * else token 231 */ 232 public static final String TS_TOKEN_ELSE = "else"; 233 234 /** 235 * new token 236 */ 237 public static final String TS_TOKEN_NEW = "new"; 238 239 /** 240 * var token 241 */ 242 public static final String TS_TOKEN_VAR = "var"; 243 244 /** 245 * catch token 246 */ 247 public static final String TS_TOKEN_CATCH = "catch"; 248 249 /** 250 * finally token 251 */ 252 public static final String TS_TOKEN_FINALLY = "finally"; 253 254 /** 255 * return token 256 */ 257 public static final String TS_TOKEN_RETURN = "return"; 258 259 /** 260 * void token 261 */ 262 public static final String TS_TOKEN_VOID = "void"; 263 264 /** 265 * continue token 266 */ 267 public static final String TS_TOKEN_CONTINUE = "continue"; 268 269 /** 270 * for token 271 */ 272 public static final String TS_TOKEN_FOR = "for"; 273 274 /** 275 * switch token 276 */ 277 public static final String TS_TOKEN_SWITCH = "switch"; 278 279 /** 280 * while token 281 */ 282 public static final String TS_TOKEN_WHILE = "while"; 283 284 /** 285 * debugger token 286 */ 287 public static final String TS_TOKEN_DEBUGGER = "debugger"; 288 289 /** 290 * function token 291 */ 292 public static final String TS_TOKEN_FUNCTION = "function"; 293 294 /** 295 * this token 296 */ 297 public static final String TS_TOKEN_THIS = "this"; 298 299 /** 300 * with token 301 */ 302 public static final String TS_TOKEN_WITH = "with"; 303 304 /** 305 * default token 306 */ 307 public static final String TS_TOKEN_DEFAULT = "default"; 308 309 /** 310 * if token 311 */ 312 public static final String TS_TOKEN_IF = "if"; 313 314 /** 315 * throw token 316 */ 317 public static final String TS_TOKEN_THROW = "throw"; 318 319 /** 320 * delete token 321 */ 322 public static final String TS_TOKEN_DELETE = "delete"; 323 324 /** 325 * in token 326 */ 327 public static final String TS_TOKEN_IN = "in"; 328 329 /** 330 * try token 331 */ 332 public static final String TS_TOKEN_TRY = "try"; 333 334 /** 335 * as token 336 */ 337 public static final String TS_TOKEN_AS = "as"; 338 339 /** 340 * from token 341 */ 342 public static final String TS_TOKEN_FROM = "from"; 343 344 /** 345 * readonly token 346 */ 347 public static final String TS_TOKEN_READONLY = "readonly"; 348 349 /** 350 * async token 351 */ 352 public static final String TS_TOKEN_ASYNC = "async"; 353 354 /** 355 * await token 356 */ 357 public static final String TS_TOKEN_AWAIT = "await"; 358 359 /** 360 * yield token 361 */ 362 public static final String TS_TOKEN_YIELD = "yield"; 363 364 } 365