Searched refs:THROW_ERROR (Results 1 – 10 of 10) sorted by relevance
/arkcompiler/ets_frontend/es2panda/parser/ |
D | parserImpl.cpp | 499 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseTsTemplateLiteralType() 546 … *options & TypeAnnotationParsingOptions::THROW_ERROR); in ParseTsTypeAnnotationElement() 557 …eturn ParseTsIndexAccessType(typeAnnotation, *options & TypeAnnotationParsingOptions::THROW_ERROR); in ParseTsTypeAnnotationElement() 604 … *options & TypeAnnotationParsingOptions::THROW_ERROR); in ParseTsTypeAnnotationElement() 609 *options & TypeAnnotationParsingOptions::THROW_ERROR); in ParseTsTypeAnnotationElement() 625 … *options & TypeAnnotationParsingOptions::THROW_ERROR); in ParseTsTypeAnnotationElement() 628 return ParseTsTemplateLiteralType(*options & TypeAnnotationParsingOptions::THROW_ERROR); in ParseTsTypeAnnotationElement() 635 if (!typeAnnotation && (*options & TypeAnnotationParsingOptions::THROW_ERROR)) { in ParseTsTypeAnnotationElement() 654 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseTsImportType() 735 TypeAnnotationParsingOptions::THROW_ERROR | TypeAnnotationParsingOptions::RESTRICT_EXTENDS; in ParseTsConditionalType() [all …]
|
D | expressionParser.cpp | 134 TypeAnnotationParsingOptions::THROW_ERROR | TypeAnnotationParsingOptions::ALLOW_CONST; in ParseTsAsExpression() 508 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseTsGenericArrowFunction() 530 TypeAnnotationParsingOptions::THROW_ERROR | TypeAnnotationParsingOptions::ALLOW_CONST; in ParseTsTypeAssertion() 550 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseCoverParenthesizedExpressionAndArrowParameterList() 627 options &= ~TypeAnnotationParsingOptions::THROW_ERROR; in ParseCoverParenthesizedExpressionAndArrowParameterList() 1475 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParsePotentialArrowExpression() 1775 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParsePotentialTsFunctionParameter()
|
D | parserImpl.h | 164 THROW_ERROR = 1 << 4, enumerator
|
D | statementParser.cpp | 720 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseTsTypeAliasDeclaration() 1818 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseCatchParam() 2019 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseVariableDeclarator()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_macros.h | 294 #define THROW_ERROR(thread, type, message) \ macro 360 THROW_ERROR(thread, ErrorType::TYPE_ERROR, message) 364 THROW_ERROR(thread, ErrorType::OOM_ERROR, message)
|
D | js_relative_time_format.cpp | 493 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "rtf is not initialized"); in ResolvedOptions() 526 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "numeric is exception"); in ResolvedOptions()
|
D | js_number_format.cpp | 483 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "invalid numberingSystem"); in InitializeNumberFormat() 487 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "invalid numberingSystem"); in InitializeNumberFormat()
|
/arkcompiler/ets_runtime/ecmascript/require/ |
D | js_cjs_module.cpp | 172 THROW_ERROR(thread, ErrorType::REFERENCE_ERROR, msg.c_str()); in RequireExecution()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_source_text.cpp | 437 THROW_ERROR(thread, ErrorType::SYNTAX_ERROR, msg.c_str()); in InitializeEnvironment() 682 THROW_ERROR(thread, ErrorType::SYNTAX_ERROR, msg.c_str()); in ModuleDeclarationEnvironmentSetup() 762 THROW_ERROR(thread, ErrorType::SYNTAX_ERROR, msg.c_str()); in ModuleDeclarationArrayEnvironmentSetup() 1092 THROW_ERROR(thread, ErrorType::REFERENCE_ERROR, msg.c_str()); in ModuleExecution() 1505 THROW_ERROR(thread, ErrorType::SYNTAX_ERROR, msg.c_str()); in CheckResolvedBinding() 1543 THROW_ERROR(thread, ErrorType::SYNTAX_ERROR, msg.c_str()); in CheckResolvedIndexBinding()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_vector.cpp | 48 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "the index is out-of-bounds"); in Insert() 81 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "An incorrect size was set"); in IncreaseCapacityTo()
|