Home
last modified time | relevance | path

Searched refs:LEXER_RIGHT_PAREN (Results 1 – 7 of 7) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner-ops.c218 if (context_p->token.type == LEXER_COMMA || context_p->token.type == LEXER_RIGHT_PAREN) in scanner_check_arrow_arg()
456 case LEXER_RIGHT_PAREN: in scanner_scan_bracket()
517 context_p->token.type = LEXER_RIGHT_PAREN; in scanner_scan_bracket()
520 else if (context_p->token.type == LEXER_RIGHT_PAREN) in scanner_scan_bracket()
Djs-lexer.h132 LEXER_RIGHT_PAREN, /**< ")" */ enumerator
222 ((type) == LEXER_RIGHT_BRACE || (type) == LEXER_RIGHT_PAREN || (type) == LEXER_RIGHT_SQUARE)
Djs-scanner.c271 case LEXER_RIGHT_PAREN: in scanner_scan_primary_expression()
463 if (type != LEXER_RIGHT_PAREN) in scanner_scan_primary_expression_end()
481 if (type != LEXER_RIGHT_PAREN) in scanner_scan_primary_expression_end()
491 if (type != LEXER_RIGHT_PAREN) in scanner_scan_primary_expression_end()
514 if (type != LEXER_RIGHT_PAREN) in scanner_scan_primary_expression_end()
533 if (type != LEXER_RIGHT_PAREN) in scanner_scan_primary_expression_end()
717 if (context_p->token.type != LEXER_RIGHT_PAREN) in scanner_scan_primary_expression_end()
723 type = LEXER_RIGHT_PAREN; in scanner_scan_primary_expression_end()
728 if (type != LEXER_RIGHT_PAREN) in scanner_scan_primary_expression_end()
745 if (type != LEXER_RIGHT_PAREN) in scanner_scan_primary_expression_end()
[all …]
Djs-parser-expr.c1504 return (context_p->token.type != LEXER_RIGHT_PAREN in parser_abort_parsing_after_assignment_expression()
1901 return (context_p->token.type != LEXER_RIGHT_PAREN in parser_parse_unary_expression()
2076 while (context_p->token.type != LEXER_RIGHT_PAREN) in parser_process_unary_expression()
2099 if (context_p->token.type != LEXER_RIGHT_PAREN) in parser_process_unary_expression()
2110 if (context_p->token.type != LEXER_RIGHT_PAREN) in parser_process_unary_expression()
2128 if (context_p->token.type != LEXER_RIGHT_PAREN) in parser_process_unary_expression()
3384 if (context_p->token.type == LEXER_RIGHT_PAREN in parser_parse_expression()
3404 if (context_p->token.type == LEXER_RIGHT_PAREN) in parser_parse_expression()
Djs-parser-statm.c361 if (context_p->token.type != LEXER_RIGHT_PAREN) in parser_parse_enclosed_expr()
1041 JERRY_ASSERT (context_p->token.type != LEXER_RIGHT_PAREN); in parser_parse_while_statement_start()
1098 if (context_p->token.type != LEXER_RIGHT_PAREN) in parser_parse_while_statement_end()
1263 if (context_p->token.type != LEXER_RIGHT_PAREN) in parser_parse_for_statement_start()
1529 JERRY_ASSERT (context_p->token.type != LEXER_RIGHT_PAREN); in parser_parse_for_statement_start()
1608 if (context_p->token.type != LEXER_RIGHT_PAREN) in parser_parse_for_statement_end()
1612 if (context_p->token.type != LEXER_RIGHT_PAREN) in parser_parse_for_statement_end()
1993 if (context_p->token.type != LEXER_RIGHT_PAREN) in parser_parse_try_statement_end()
Djs-parser.c1946 parser_error_t error = ((end_type == LEXER_RIGHT_PAREN) ? PARSER_ERR_RIGHT_PAREN_EXPECTED in parser_parse_function_arguments()
2457 parser_parse_function_arguments (context_p, LEXER_RIGHT_PAREN); in parser_parse_function()
2546 parser_parse_function_arguments (context_p, LEXER_RIGHT_PAREN); in parser_parse_arrow_function()
Djs-lexer.c1541 LEXER_TYPE_A_TOKEN (LIT_CHAR_RIGHT_PAREN, LEXER_RIGHT_PAREN); in lexer_next_token()
1962 case LEXER_RIGHT_PAREN: in lexer_check_yield_no_arg()