Home
last modified time | relevance | path

Searched refs:LEXER_LEFT_SQUARE (Results 1 – 6 of 6) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-lexer.h130 LEXER_LEFT_SQUARE, /**< "[" */ enumerator
219 ((type) == LEXER_LEFT_BRACE || (type) == LEXER_LEFT_PAREN || (type) == LEXER_LEFT_SQUARE)
Djs-scanner.c136 case LEXER_LEFT_SQUARE: in scanner_scan_primary_expression()
331 case LEXER_LEFT_SQUARE: in scanner_scan_post_primary_expression()
1239 if (type != LEXER_LEFT_SQUARE in scanner_scan_statement()
1852 if (type == LEXER_LEFT_SQUARE in scanner_scan_statement()
2198 if (context_p->token.type == LEXER_LEFT_SQUARE || context_p->token.type == LEXER_LEFT_BRACE) in scanner_scan_statement_end()
2202 if (context_p->token.type == LEXER_LEFT_SQUARE) in scanner_scan_statement_end()
2496 if (context_p->token.type == LEXER_LEFT_SQUARE) in scanner_scan_all()
2569 if (type == LEXER_LEFT_SQUARE || type == LEXER_LEFT_BRACE) in scanner_scan_all()
2584 if (type == LEXER_LEFT_SQUARE) in scanner_scan_all()
2763 … if (context_p->token.type == LEXER_LEFT_SQUARE || context_p->token.type == LEXER_LEFT_BRACE) in scanner_scan_all()
[all …]
Djs-scanner-ops.c224 else if (context_p->token.type == LEXER_LEFT_SQUARE || context_p->token.type == LEXER_LEFT_BRACE) in scanner_check_arrow_arg()
454 case LEXER_LEFT_SQUARE: in scanner_scan_bracket()
Djs-parser-expr.c287 JERRY_ASSERT (context_p->token.type == LEXER_LEFT_SQUARE); in parser_parse_array_literal()
1756 case LEXER_LEFT_SQUARE: in parser_parse_unary_expression()
1969 case LEXER_LEFT_SQUARE: in parser_process_unary_expression()
2880 …Y_ASSERT (context_p->token.type == LEXER_LEFT_BRACE || context_p->token.type == LEXER_LEFT_SQUARE); 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()
3151 JERRY_ASSERT (context_p->token.type == LEXER_LEFT_SQUARE); in parser_parse_initializer()
Djs-lexer.c1539 LEXER_TYPE_A_TOKEN (LIT_CHAR_LEFT_SQUARE, LEXER_LEFT_SQUARE); in lexer_next_token()
3385 && context_p->token.type != LEXER_LEFT_SQUARE in lexer_string_is_directive()
Djs-parser.c1784 if (context_p->token.type == LEXER_LEFT_SQUARE || context_p->token.type == LEXER_LEFT_BRACE) in parser_parse_function_arguments()