Home
last modified time | relevance | path

Searched refs:LEXER_LEFT_BRACE (Results 1 – 8 of 8) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner-ops.c69 if (context_p->token.type != LEXER_LEFT_BRACE) in scanner_check_arrow_body()
224 else if (context_p->token.type == LEXER_LEFT_SQUARE || context_p->token.type == LEXER_LEFT_BRACE) in scanner_check_arrow_arg()
229 if (context_p->token.type == LEXER_LEFT_BRACE) in scanner_check_arrow_arg()
455 case LEXER_LEFT_BRACE: in scanner_scan_bracket()
Djs-scanner.c146 case LEXER_LEFT_BRACE: in scanner_scan_primary_expression()
752 if (context_p->token.type != LEXER_LEFT_BRACE) in scanner_scan_primary_expression_end()
854 if (context_p->token.type != LEXER_LEFT_BRACE) in scanner_scan_primary_expression_end()
1035 if (type != LEXER_LEFT_BRACE) in scanner_scan_primary_expression_end()
1088 case LEXER_LEFT_BRACE: in scanner_scan_statement()
1112 if (context_p->token.type != LEXER_LEFT_BRACE) in scanner_scan_statement()
1240 && type != LEXER_LEFT_BRACE in scanner_scan_statement()
1526 else if (context_p->token.type == LEXER_LEFT_BRACE) in scanner_scan_statement()
1740 if (context_p->token.type == LEXER_LEFT_BRACE) in scanner_scan_statement()
1853 || type == LEXER_LEFT_BRACE in scanner_scan_statement()
[all …]
Djs-lexer.h128 LEXER_LEFT_BRACE, /**< "{" */ enumerator
219 ((type) == LEXER_LEFT_BRACE || (type) == LEXER_LEFT_PAREN || (type) == LEXER_LEFT_SQUARE)
Djs-parser-statm.c1688 if (context_p->token.type != LEXER_LEFT_BRACE) in parser_parse_switch_statement_start()
2000 if (context_p->token.type != LEXER_LEFT_BRACE) in parser_parse_try_statement_end()
2013 if (context_p->token.type != LEXER_LEFT_BRACE) in parser_parse_try_statement_end()
2330 if (!(context_p->token.type == LEXER_LEFT_BRACE in parser_parse_import_statement()
2363 && context_p->token.type != LEXER_LEFT_BRACE) in parser_parse_import_statement()
2408 else if (context_p->token.type == LEXER_LEFT_BRACE) in parser_parse_import_statement()
2530 case LEXER_LEFT_BRACE: in parser_parse_export_statement()
2754 && context_p->token.type != LEXER_LEFT_BRACE in parser_parse_statements()
2775 && context_p->token.type != LEXER_LEFT_BRACE in parser_parse_statements()
2804 case LEXER_LEFT_BRACE: in parser_parse_statements()
[all …]
Djs-parser-module.c356 JERRY_ASSERT (context_p->token.type == LEXER_LEFT_BRACE); in parser_module_parse_export_clause()
449 JERRY_ASSERT (context_p->token.type == LEXER_LEFT_BRACE); in parser_module_parse_import_clause()
Djs-parser-expr.c491 JERRY_ASSERT (context_p->token.type == LEXER_LEFT_BRACE); in parser_parse_class_literal()
799 if (context_p->token.type != LEXER_LEFT_BRACE) in parser_parse_class()
904 JERRY_ASSERT (context_p->token.type == LEXER_LEFT_BRACE); in parser_parse_object_literal()
1736 case LEXER_LEFT_BRACE: in parser_parse_unary_expression()
2880 …JERRY_ASSERT (context_p->token.type == LEXER_LEFT_BRACE || context_p->token.type == LEXER_LEFT_SQU… in parser_pattern_process_nested_pattern()
2898 if (context_p->token.type == LEXER_LEFT_BRACE) in parser_pattern_process_nested_pattern()
2920 if (context_p->token.type == LEXER_LEFT_BRACE || context_p->token.type == LEXER_LEFT_SQUARE) in parser_pattern_process_assignment()
3145 if (context_p->token.type == LEXER_LEFT_BRACE) in parser_parse_initializer()
Djs-parser.c1784 if (context_p->token.type == LEXER_LEFT_SQUARE || context_p->token.type == LEXER_LEFT_BRACE) in parser_parse_function_arguments()
2480 if (context_p->token.type != LEXER_LEFT_BRACE) in parser_parse_function()
2558 if (context_p->token.type == LEXER_LEFT_BRACE) in parser_parse_arrow_function()
Djs-lexer.c1537 LEXER_TYPE_A_TOKEN (LIT_CHAR_LEFT_BRACE, LEXER_LEFT_BRACE); in lexer_next_token()