13af6ab5fSopenharmony_ci/*
23af6ab5fSopenharmony_ci * Copyright (c) 2022-2024 Huawei Device Co., Ltd.
33af6ab5fSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
43af6ab5fSopenharmony_ci * you may not use this file except in compliance with the License.
53af6ab5fSopenharmony_ci * You may obtain a copy of the License at
63af6ab5fSopenharmony_ci *
73af6ab5fSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0
83af6ab5fSopenharmony_ci *
93af6ab5fSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
103af6ab5fSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
113af6ab5fSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
123af6ab5fSopenharmony_ci * See the License for the specific language governing permissions and
133af6ab5fSopenharmony_ci * limitations under the License.
143af6ab5fSopenharmony_ci */
153af6ab5fSopenharmony_ci
163af6ab5fSopenharmony_ciexport enum FaultID {
173af6ab5fSopenharmony_ci  AnyType,
183af6ab5fSopenharmony_ci  SymbolType,
193af6ab5fSopenharmony_ci  ObjectLiteralNoContextType,
203af6ab5fSopenharmony_ci  ArrayLiteralNoContextType,
213af6ab5fSopenharmony_ci  ComputedPropertyName,
223af6ab5fSopenharmony_ci  LiteralAsPropertyName,
233af6ab5fSopenharmony_ci  TypeQuery,
243af6ab5fSopenharmony_ci  IsOperator,
253af6ab5fSopenharmony_ci  DestructuringParameter,
263af6ab5fSopenharmony_ci  YieldExpression,
273af6ab5fSopenharmony_ci  InterfaceMerging,
283af6ab5fSopenharmony_ci  EnumMerging,
293af6ab5fSopenharmony_ci  InterfaceExtendsClass,
303af6ab5fSopenharmony_ci  IndexMember,
313af6ab5fSopenharmony_ci  WithStatement,
323af6ab5fSopenharmony_ci  ThrowStatement,
333af6ab5fSopenharmony_ci  IndexedAccessType,
343af6ab5fSopenharmony_ci  UnknownType,
353af6ab5fSopenharmony_ci  ForInStatement,
363af6ab5fSopenharmony_ci  InOperator,
373af6ab5fSopenharmony_ci  FunctionExpression,
383af6ab5fSopenharmony_ci  IntersectionType,
393af6ab5fSopenharmony_ci  ObjectTypeLiteral,
403af6ab5fSopenharmony_ci  CommaOperator,
413af6ab5fSopenharmony_ci  LimitedReturnTypeInference,
423af6ab5fSopenharmony_ci  ClassExpression,
433af6ab5fSopenharmony_ci  DestructuringAssignment,
443af6ab5fSopenharmony_ci  DestructuringDeclaration,
453af6ab5fSopenharmony_ci  VarDeclaration,
463af6ab5fSopenharmony_ci  CatchWithUnsupportedType,
473af6ab5fSopenharmony_ci  DeleteOperator,
483af6ab5fSopenharmony_ci  DeclWithDuplicateName,
493af6ab5fSopenharmony_ci  UnaryArithmNotNumber,
503af6ab5fSopenharmony_ci  ConstructorType,
513af6ab5fSopenharmony_ci  ConstructorIface,
523af6ab5fSopenharmony_ci  ConstructorFuncs,
533af6ab5fSopenharmony_ci  CallSignature,
543af6ab5fSopenharmony_ci  TypeAssertion,
553af6ab5fSopenharmony_ci  PrivateIdentifier,
563af6ab5fSopenharmony_ci  LocalFunction,
573af6ab5fSopenharmony_ci  ConditionalType,
583af6ab5fSopenharmony_ci  MappedType,
593af6ab5fSopenharmony_ci  NamespaceAsObject,
603af6ab5fSopenharmony_ci  ClassAsObject,
613af6ab5fSopenharmony_ci  ClassAsObjectError,
623af6ab5fSopenharmony_ci  NonDeclarationInNamespace,
633af6ab5fSopenharmony_ci  GeneratorFunction,
643af6ab5fSopenharmony_ci  FunctionContainsThis,
653af6ab5fSopenharmony_ci  PropertyAccessByIndex,
663af6ab5fSopenharmony_ci  JsxElement,
673af6ab5fSopenharmony_ci  EnumMemberNonConstInit,
683af6ab5fSopenharmony_ci  ImplementsClass,
693af6ab5fSopenharmony_ci  MethodReassignment,
703af6ab5fSopenharmony_ci  MultipleStaticBlocks,
713af6ab5fSopenharmony_ci  ThisType,
723af6ab5fSopenharmony_ci  IntefaceExtendDifProps,
733af6ab5fSopenharmony_ci  StructuralIdentity,
743af6ab5fSopenharmony_ci  ExportAssignment,
753af6ab5fSopenharmony_ci  ImportAssignment,
763af6ab5fSopenharmony_ci  GenericCallNoTypeArgs,
773af6ab5fSopenharmony_ci  ParameterProperties,
783af6ab5fSopenharmony_ci  InstanceofUnsupported,
793af6ab5fSopenharmony_ci  ShorthandAmbientModuleDecl,
803af6ab5fSopenharmony_ci  WildcardsInModuleName,
813af6ab5fSopenharmony_ci  UMDModuleDefinition,
823af6ab5fSopenharmony_ci  NewTarget,
833af6ab5fSopenharmony_ci  DefiniteAssignment,
843af6ab5fSopenharmony_ci  DefiniteAssignmentError,
853af6ab5fSopenharmony_ci  Prototype,
863af6ab5fSopenharmony_ci  GlobalThis,
873af6ab5fSopenharmony_ci  GlobalThisError,
883af6ab5fSopenharmony_ci  UtilityType,
893af6ab5fSopenharmony_ci  PropertyDeclOnFunction,
903af6ab5fSopenharmony_ci  FunctionApplyCall,
913af6ab5fSopenharmony_ci  FunctionBind,
923af6ab5fSopenharmony_ci  FunctionBindError,
933af6ab5fSopenharmony_ci  ConstAssertion,
943af6ab5fSopenharmony_ci  ImportAssertion,
953af6ab5fSopenharmony_ci  SpreadOperator,
963af6ab5fSopenharmony_ci  LimitedStdLibApi,
973af6ab5fSopenharmony_ci  ErrorSuppression,
983af6ab5fSopenharmony_ci  StrictDiagnostic,
993af6ab5fSopenharmony_ci  ImportAfterStatement,
1003af6ab5fSopenharmony_ci  EsObjectType,
1013af6ab5fSopenharmony_ci  EsObjectTypeError,
1023af6ab5fSopenharmony_ci  SendableClassInheritance,
1033af6ab5fSopenharmony_ci  SendablePropType,
1043af6ab5fSopenharmony_ci  SendableDefiniteAssignment,
1053af6ab5fSopenharmony_ci  SendableGenericTypes,
1063af6ab5fSopenharmony_ci  SendableCapturedVars,
1073af6ab5fSopenharmony_ci  SendableClassDecorator,
1083af6ab5fSopenharmony_ci  SendableObjectInitialization,
1093af6ab5fSopenharmony_ci  SendableComputedPropName,
1103af6ab5fSopenharmony_ci  SendableAsExpr,
1113af6ab5fSopenharmony_ci  SharedNoSideEffectImport,
1123af6ab5fSopenharmony_ci  SharedModuleExports,
1133af6ab5fSopenharmony_ci  SharedModuleNoWildcardExport,
1143af6ab5fSopenharmony_ci  NoTsImportEts,
1153af6ab5fSopenharmony_ci  SendableTypeInheritance,
1163af6ab5fSopenharmony_ci  SendableTypeExported,
1173af6ab5fSopenharmony_ci  NoTsReExportEts,
1183af6ab5fSopenharmony_ci  NoNameSpaceImportEtsToTs,
1193af6ab5fSopenharmony_ci  NoSIdeEffectImportEtsToTs,
1203af6ab5fSopenharmony_ci  SendableExplicitFieldType,
1213af6ab5fSopenharmony_ci  SendableFunctionImportedVariables,
1223af6ab5fSopenharmony_ci  SendableFunctionDecorator,
1233af6ab5fSopenharmony_ci  SendableTypeAliasDecorator,
1243af6ab5fSopenharmony_ci  SendableTypeAliasDeclaration,
1253af6ab5fSopenharmony_ci  SendableFunctionAssignment,
1263af6ab5fSopenharmony_ci  SendableFunctionOverloadDecorator,
1273af6ab5fSopenharmony_ci  SendableFunctionProperty,
1283af6ab5fSopenharmony_ci  SendableFunctionAsExpr,
1293af6ab5fSopenharmony_ci  SendableDecoratorLimited,
1303af6ab5fSopenharmony_ci  SendableClosureExport,
1313af6ab5fSopenharmony_ci  SharedModuleExportsWarning,
1323af6ab5fSopenharmony_ci  SendableBetaCompatible,
1333af6ab5fSopenharmony_ci  ObjectLiteralProperty,
1343af6ab5fSopenharmony_ci  OptionalMethod,
1353af6ab5fSopenharmony_ci  ImportType,
1363af6ab5fSopenharmony_ci  DynamicCtorCall,
1373af6ab5fSopenharmony_ci  // this should always be last enum
1383af6ab5fSopenharmony_ci  LAST_ID
1393af6ab5fSopenharmony_ci}
140