Home
last modified time | relevance | path

Searched refs:THROW_ERROR (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Djs_segmenter.cpp71 THROW_ERROR(thread, ErrorType::REFERENCE_ERROR, "can not find icu data resources"); in InitializeIcuBreakIterator()
73 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "create icu::BreakIterator failed"); in InitializeIcuBreakIterator()
H A Decma_macros.h370 #define THROW_ERROR(thread, type, message) \ macro
461 THROW_ERROR(thread, ErrorType::TYPE_ERROR, message)
469 THROW_ERROR(thread, ErrorType::TERMINATION_ERROR, message)
H A Djs_relative_time_format.cpp493 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "rtf is not initialized"); in ResolvedOptions()
526 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "numeric is exception"); in ResolvedOptions()
H A Djs_number_format.cpp544 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "invalid numberingSystem"); in InitializeNumberFormat()
548 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "invalid numberingSystem"); in InitializeNumberFormat()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.cpp524 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseTsTemplateLiteralType()
557 *options & TypeAnnotationParsingOptions::THROW_ERROR); in ParseTsTypeAnnotationElement()
567 *options & TypeAnnotationParsingOptions::THROW_ERROR); in ParseTsTypeAnnotationElement()
608 *options & TypeAnnotationParsingOptions::THROW_ERROR); in ParseTsTypeAnnotationElement()
613 *options & TypeAnnotationParsingOptions::THROW_ERROR); in ParseTsTypeAnnotationElement()
632 *options & TypeAnnotationParsingOptions::THROW_ERROR); in ParseTsTypeAnnotationElement()
635 return ParseTsTemplateLiteralType(*options & TypeAnnotationParsingOptions::THROW_ERROR); in ParseTsTypeAnnotationElement()
646 if (!typeAnnotation && (*options & TypeAnnotationParsingOptions::THROW_ERROR)) { in ParseTsTypeAnnotationElement()
661 *options & TypeAnnotationParsingOptions::THROW_ERROR); in ParsePostfixTypeOrHigher()
673 return ParseTsIndexAccessType(typeAnnotation, *options & TypeAnnotationParsingOptions::THROW_ERROR); in ParsePostfixTypeOrHigher()
[all...]
H A DexpressionParser.cpp137 TypeAnnotationParsingOptions::THROW_ERROR | TypeAnnotationParsingOptions::ALLOW_CONST; in ParseTsAsExpression()
167 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseTsSatisfiesExpression()
530 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseTsGenericArrowFunction()
554 TypeAnnotationParsingOptions::THROW_ERROR | TypeAnnotationParsingOptions::ALLOW_CONST; in ParseTsTypeAssertion()
574 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseCoverParenthesizedExpressionAndArrowParameterList()
651 options &= ~TypeAnnotationParsingOptions::THROW_ERROR; in ParseCoverParenthesizedExpressionAndArrowParameterList()
1531 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParsePotentialArrowExpression()
1895 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParsePotentialTsFunctionParameter()
H A DparserImpl.h165 THROW_ERROR = 1 << 4, member in panda::es2panda::lexer::TokenFlags::ModifierFlags::TypeAnnotationParsingOptions
H A DstatementParser.cpp767 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseTsTypeAliasDeclaration()
1887 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseCatchParam()
2143 TypeAnnotationParsingOptions options = TypeAnnotationParsingOptions::THROW_ERROR; in ParseVariableDeclaratorKey()
/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_vector.cpp46 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "the index is out-of-bounds"); in Insert()
79 THROW_ERROR(thread, ErrorType::RANGE_ERROR, "An incorrect size was set"); in IncreaseCapacityTo()
/arkcompiler/ets_runtime/ecmascript/module/
H A Djs_module_source_text.cpp746 THROW_ERROR(thread, ErrorType::SYNTAX_ERROR, msg.c_str()); in ModuleDeclarationEnvironmentSetup()
844 THROW_ERROR(thread, ErrorType::SYNTAX_ERROR, msg.c_str()); in ModuleDeclarationArrayEnvironmentSetup()
1737 THROW_ERROR(thread, ErrorType::SYNTAX_ERROR, msg.c_str()); in CheckResolvedBinding()
1776 THROW_ERROR(thread, ErrorType::SYNTAX_ERROR, msg.c_str()); in CheckResolvedIndexBinding()

Completed in 23 milliseconds