Searched refs:ecma_raise_syntax_error (Results 1 – 10 of 10) sorted by relevance
235 return ecma_raise_syntax_error (ECMA_ERR_MSG ("quantifier error: min > max.")); in re_check_quantifier()451 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid escape sequence")); in re_parse_char_escape()553 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid control escape sequence")); in re_parse_char_escape()576 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid hex escape sequence")); in re_parse_char_escape()628 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid unicode escape sequence")); in re_parse_char_escape()640 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid unicode escape sequence")); in re_parse_char_escape()656 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid escape")); in re_parse_char_escape()712 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid escape")); in re_parse_next_token()765 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Unterminated group")); in re_parse_next_token()773 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid group")); in re_parse_next_token()[all …]
336 … ret_value = ecma_raise_syntax_error (ECMA_ERR_MSG ("No default export in native module.")); in ecma_module_resolve_export()417 …ret_value = ecma_raise_syntax_error (ECMA_ERR_MSG ("No explicitly defined default export in module… in ecma_module_resolve_export()466 ret_value = ecma_raise_syntax_error (ECMA_ERR_MSG ("Unexported or circular import request.")); in ecma_module_resolve_export()702 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Imported binding shadows local variable.")); in ecma_module_connect_imports()716 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Imported binding shadows local variable.")); in ecma_module_connect_imports()768 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Ambiguous import request.")); in ecma_module_connect_imports()872 return ecma_raise_syntax_error (ECMA_ERR_MSG ("File not found.")); in ecma_module_parse()970 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Ambiguous indirect export request.")); in ecma_module_check_indirect_exports()
62 ecma_value_t ecma_raise_syntax_error (const char *msg_p);
128 return ecma_raise_syntax_error (ECMA_ERR_MSG ("The parser has been disabled.")); in ecma_op_eval_chars_buffer()
382 ecma_raise_syntax_error (const char *msg_p) /**< error message */ in ecma_raise_syntax_error() function
110 ret_value = ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid RegExp flags.")); in ecma_regexp_parse_flags()
508 return jerry_throw (ecma_raise_syntax_error (ECMA_ERR_MSG ("The parser has been disabled."))); in jerry_parse()591 return jerry_throw (ecma_raise_syntax_error (ECMA_ERR_MSG ("The parser has been disabled."))); in jerry_parse_function()4416 ret_value = jerry_throw (ecma_raise_syntax_error (ECMA_ERR_MSG ("JSON string parse error."))); in jerry_json_parse()4424 return jerry_throw (ecma_raise_syntax_error (ECMA_ERR_MSG ("The JSON has been disabled."))); in jerry_json_parse()4449 ret_value = jerry_throw (ecma_raise_syntax_error (ECMA_ERR_MSG ("JSON stringify error."))); in jerry_json_stringify()4456 return jerry_throw (ecma_raise_syntax_error (ECMA_ERR_MSG ("The JSON has been disabled."))); in jerry_json_stringify()
2767 return ecma_raise_syntax_error (""); in parser_parse_script()2817 return ecma_raise_syntax_error (ECMA_ERR_MSG ("The parser has been disabled.")); in parser_parse_script()
716 return ecma_raise_syntax_error (ECMA_ERR_MSG ("Invalid JSON format.")); in ecma_builtin_json_parse_buffer()
1556 result = ecma_raise_syntax_error (ECMA_ERR_MSG ("Local variable is redeclared.")); in vm_loop()1583 result = ecma_raise_syntax_error (ECMA_ERR_MSG ("Local variable is redeclared.")); in vm_loop()1598 result = ecma_raise_syntax_error (ECMA_ERR_MSG ("Local variable is redeclared.")); in vm_loop()