Searched refs:LEXER_RIGHT_SQUARE (Results 1 – 4 of 4) sorted by relevance
133 LEXER_RIGHT_SQUARE, /**< "]" */ enumerator222 ((type) == LEXER_RIGHT_BRACE || (type) == LEXER_RIGHT_PAREN || (type) == LEXER_RIGHT_SQUARE)
294 if (context_p->token.type == LEXER_RIGHT_SQUARE) in parser_parse_array_literal()333 else if (context_p->token.type != LEXER_RIGHT_SQUARE) in parser_parse_array_literal()558 if (context_p->token.type == LEXER_RIGHT_SQUARE) in parser_parse_class_literal()667 if (context_p->token.type == LEXER_RIGHT_SQUARE) in parser_parse_class_literal()958 if (context_p->token.type == LEXER_RIGHT_SQUARE) in parser_parse_object_literal()988 case LEXER_RIGHT_SQUARE: in parser_parse_object_literal()1041 if (context_p->token.type == LEXER_RIGHT_SQUARE) in parser_parse_object_literal()1984 if (context_p->token.type != LEXER_RIGHT_SQUARE) in parser_process_unary_expression()2998 while (context_p->token.type != LEXER_RIGHT_SQUARE) in parser_parse_array_initializer()3019 …process_assignment (context_p, options, rhs_opcode, PARSER_PATTERN_RHS_NO_LIT, LEXER_RIGHT_SQUARE); in parser_parse_array_initializer()[all …]
216 case LEXER_RIGHT_SQUARE: in scanner_scan_primary_expression()827 if (((stack_top == SCAN_STACK_ARRAY_LITERAL) && (type != LEXER_RIGHT_SQUARE)) in scanner_scan_primary_expression_end()901 if (type != LEXER_RIGHT_SQUARE) in scanner_scan_primary_expression_end()926 if (type != LEXER_RIGHT_SQUARE) in scanner_scan_primary_expression_end()972 if (type != LEXER_RIGHT_SQUARE) in scanner_scan_primary_expression_end()
1542 LEXER_TYPE_A_TOKEN (LIT_CHAR_RIGHT_SQUARE, LEXER_RIGHT_SQUARE); in lexer_next_token()1963 case LEXER_RIGHT_SQUARE: in lexer_check_yield_no_arg()3047 if (context_p->token.type != LEXER_RIGHT_SQUARE) in lexer_expect_object_literal_id()