absyntax/absyntax.def
changeset 438 744b125d911e
parent 424 43d73e28eca8
child 439 cf7d6862033d
equal deleted inserted replaced
437:0e09a8840c92 438:744b125d911e
   918 
   918 
   919 /* | il_simple_operator [il_operand] */
   919 /* | il_simple_operator [il_operand] */
   920 SYM_REF2(il_simple_operation_c, il_simple_operator, il_operand)
   920 SYM_REF2(il_simple_operation_c, il_simple_operator, il_operand)
   921 
   921 
   922 /* | function_name [il_operand_list] */
   922 /* | function_name [il_operand_list] */
   923 /* NOTE: The parameter 'called_function_declaration' is used to pass data between the stage 3 and stage 4.
   923 /* NOTE: The parameter 'called_function_declaration', 'extensible_param_count' and 'candidate_functions' are used to pass data between the stage 3 and stage 4.
   924  *       See the comment above function_invocation_c for more details 
   924  *       See the comment above function_invocation_c for more details 
   925  */
   925  */
   926 SYM_REF2(il_function_call_c, function_name, il_operand_list, symbol_c *called_function_declaration; int extensible_param_count;)
   926 SYM_REF2(il_function_call_c, function_name, il_operand_list, symbol_c *called_function_declaration; int extensible_param_count; std::vector <symbol_c *> candidate_functions;)
   927 
   927 
   928 
   928 
   929 /* | il_expr_operator '(' [il_operand] eol_list [simple_instr_list] ')' */
   929 /* | il_expr_operator '(' [il_operand] eol_list [simple_instr_list] ')' */
   930 SYM_REF3(il_expression_c, il_expr_operator, il_operand, simple_instr_list)
   930 SYM_REF3(il_expression_c, il_expr_operator, il_operand, simple_instr_list)
   931 
   931 
   940  */
   940  */
   941 SYM_REF4(il_fb_call_c, il_call_operator, fb_name, il_operand_list, il_param_list)
   941 SYM_REF4(il_fb_call_c, il_call_operator, fb_name, il_operand_list, il_param_list)
   942 
   942 
   943 
   943 
   944 /* | function_name '(' eol_list [il_param_list] ')' */
   944 /* | function_name '(' eol_list [il_param_list] ')' */
   945 /* NOTE: The parameter 'called_function_declaration' is used to pass data between the stage 3 and stage 4.
   945 /* NOTE: The parameter 'called_function_declaration', 'extensible_param_count' and 'candidate_functions' are used to pass data between the stage 3 and stage 4.
   946  *       See the comment above function_invocation_c for more details 
   946  *       See the comment above function_invocation_c for more details. 
   947  */
   947  */
   948 SYM_REF2(il_formal_funct_call_c, function_name, il_param_list, symbol_c *called_function_declaration; int extensible_param_count;)
   948 SYM_REF2(il_formal_funct_call_c, function_name, il_param_list, symbol_c *called_function_declaration; int extensible_param_count; std::vector <symbol_c *> candidate_functions;)
   949 
   949 
   950 /* | il_operand_list ',' il_operand */
   950 /* | il_operand_list ',' il_operand */
   951 SYM_LIST(il_operand_list_c)
   951 SYM_LIST(il_operand_list_c)
   952 
   952 
   953 /* | simple_instr_list il_simple_instruction */
   953 /* | simple_instr_list il_simple_instruction */