1/* 2 * Copyright (c) 2024-2025 Huawei Device Co., Ltd. 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 16export const CONSTRUCTOR_NAME = 'constructor'; 17export const SUPER_NAME = 'super'; 18export const THIS_NAME = 'this'; 19export const GLOBAL_THIS_NAME: string = 'globalThis'; 20 21export const DEFAULT = 'default'; 22 23export const ALL = '*'; 24 25export const IMPORT = 'import'; 26export const PROMISE = 'Promise'; 27export const FUNCTION = 'Function'; 28 29// ast const 30export const DECLARE_KEYWORD = 'DeclareKeyword'; 31export const NULL_KEYWORD = 'null'; 32export const UNDEFINED_KEYWORD = 'undefined'; 33export const ANY_KEYWORD = 'any'; 34export const UNKNOWN_KEYWORD = 'unknown'; 35export const BOOLEAN_KEYWORD = 'boolean'; 36export const NUMBER_KEYWORD = 'number'; 37export const STRING_KEYWORD = 'string'; 38export const VOID_KEYWORD = 'void'; 39export const NEVER_KEYWORD = 'never'; 40export const BIGINT_KEYWORD = 'bigint'; 41export const TSCONFIG_JSON = 'tsconfig.json'; 42