Lines Matching refs:array_specifier
409 YYSYMBOL_array_specifier = 224, /* array_specifier */
940 "array_specifier", "type_specifier", "type_specifier_nonarray",
3455 case 120: /* parameter_declarator: type_specifier any_identifier array_specifier */
3465 (yyval.parameter_declarator)->array_specifier = (yyvsp[0].array_specifier);
3615 case 135: /* init_declarator_list: init_declarator_list ',' any_identifier array_specifier */
3619 ast_declaration *decl = new(ctx) ast_declaration((yyvsp[-1].identifier), (yyvsp[0].array_specifier), NULL);
3629 case 136: /* init_declarator_list: init_declarator_list ',' any_identifier array_specifier '=' initializer */
3633 ast_declaration *decl = new(ctx) ast_declaration((yyvsp[-3].identifier), (yyvsp[-2].array_specifier), (yyvsp[0].expression));
3683 case 140: /* single_declaration: fully_specified_type any_identifier array_specifier */
3687 ast_declaration *decl = new(ctx) ast_declaration((yyvsp[-1].identifier), (yyvsp[0].array_specifier), NULL);
3698 case 141: /* single_declaration: fully_specified_type any_identifier array_specifier '=' initializer */
3702 ast_declaration *decl = new(ctx) ast_declaration((yyvsp[-3].identifier), (yyvsp[-2].array_specifier), (yyvsp[0].expression));
5000 case 198: /* array_specifier: '[' ']' */
5004 (yyval.array_specifier) = new(ctx) ast_array_specifier((yylsp[-1]), new(ctx) ast_expression(
5007 (yyval.array_specifier)->set_location_range((yylsp[-1]), (yylsp[0]));
5012 case 199: /* array_specifier: '[' constant_expression ']' */
5016 (yyval.array_specifier) = new(ctx) ast_array_specifier((yylsp[-2]), (yyvsp[-1].expression));
5017 (yyval.array_specifier)->set_location_range((yylsp[-2]), (yylsp[0]));
5022 case 200: /* array_specifier: array_specifier '[' ']' */
5026 (yyval.array_specifier) = (yyvsp[-2].array_specifier);
5029 (yyval.array_specifier)->add_dimension(new(ctx) ast_expression(ast_unsized_array_dim, NULL,
5036 case 201: /* array_specifier: array_specifier '[' constant_expression ']' */
5039 (yyval.array_specifier) = (yyvsp[-3].array_specifier);
5042 (yyval.array_specifier)->add_dimension((yyvsp[-1].expression));
5048 case 203: /* type_specifier: type_specifier_nonarray array_specifier */
5052 (yyval.type_specifier)->array_specifier = (yyvsp[0].array_specifier);
5253 case 221: /* struct_declarator: any_identifier array_specifier */
5257 (yyval.declaration) = new(ctx) ast_declaration((yyvsp[-1].identifier), (yyvsp[0].array_specifier), NULL);
5873 case 297: /* instance_name_opt: NEW_IDENTIFIER array_specifier */
5876 (yyval.interface_block) = new(state->linalloc) ast_interface_block((yyvsp[-1].identifier), (yyvsp[0].array_specifier));