stage3/narrow_candidate_datatypes.hh
changeset 945 477393b00f95
parent 940 61e2bdae5899
child 996 c752b113237b
equal deleted inserted replaced
943:566414d7ba1f 945:477393b00f95
    78     void  narrow_formal_call         (symbol_c *f_call, symbol_c *f_decl, int *ext_parm_count = NULL);
    78     void  narrow_formal_call         (symbol_c *f_call, symbol_c *f_decl, int *ext_parm_count = NULL);
    79     void *narrow_implicit_il_fb_call (symbol_c *symbol, const char *param_name, symbol_c *&called_fb_declaration);
    79     void *narrow_implicit_il_fb_call (symbol_c *symbol, const char *param_name, symbol_c *&called_fb_declaration);
    80     void *narrow_S_and_R_operator    (symbol_c *symbol, const char *param_name, symbol_c * called_fb_declaration);
    80     void *narrow_S_and_R_operator    (symbol_c *symbol, const char *param_name, symbol_c * called_fb_declaration);
    81     void *narrow_store_operator      (symbol_c *symbol);
    81     void *narrow_store_operator      (symbol_c *symbol);
    82     void *narrow_conditional_operator(symbol_c *symbol);
    82     void *narrow_conditional_operator(symbol_c *symbol);
    83     void *narrow_binary_operator    (const struct widen_entry widen_table[], symbol_c *symbol,                                     bool *deprecated_operation = NULL);
    83     void *narrow_binary_operator     (const struct widen_entry widen_table[], symbol_c *symbol,                                     bool *deprecated_operation = NULL);
    84     void *narrow_binary_expression  (const struct widen_entry widen_table[], symbol_c *symbol, symbol_c *l_expr, symbol_c *r_expr, bool *deprecated_operation = NULL, bool allow_enums = false);
    84     void *narrow_binary_expression   (const struct widen_entry widen_table[], symbol_c *symbol, symbol_c *l_expr, symbol_c *r_expr, bool *deprecated_operation = NULL, bool allow_enums = false);
    85     void *narrow_equality_comparison(const struct widen_entry widen_table[], symbol_c *symbol, symbol_c *l_expr, symbol_c *r_expr, bool *deprecated_operation = NULL);
    85     void *narrow_equality_comparison (const struct widen_entry widen_table[], symbol_c *symbol, symbol_c *l_expr, symbol_c *r_expr, bool *deprecated_operation = NULL);
       
    86     void *narrow_var_declaration     (symbol_c *type);
    86 
    87 
    87     void *set_il_operand_datatype    (symbol_c *il_operand, symbol_c *datatype);
    88     void *set_il_operand_datatype    (symbol_c *il_operand, symbol_c *datatype);
    88 
    89 
    89 
    90 
    90 
    91 
   199     void *visit(structured_variable_c *symbol);
   200     void *visit(structured_variable_c *symbol);
   200 
   201 
   201     /******************************************/
   202     /******************************************/
   202     /* B 1.4.3 - Declaration & Initialisation */
   203     /* B 1.4.3 - Declaration & Initialisation */
   203     /******************************************/
   204     /******************************************/
   204     void *visit(var1_list_c *symbol);
   205     void *visit(var1_list_c                  *symbol);
   205     void *visit(location_c *symbol);
   206     void *visit(location_c                   *symbol);
   206     void *visit(located_var_decl_c *symbol);
   207     void *visit(located_var_decl_c           *symbol);
       
   208     void *visit(var1_init_decl_c             *symbol);
       
   209     void *visit(array_var_init_decl_c        *symbol);
       
   210     void *visit(structured_var_init_decl_c   *symbol);
       
   211     void *visit(fb_name_decl_c               *symbol);
       
   212     void *visit(array_var_declaration_c      *symbol);
       
   213     void *visit(structured_var_declaration_c *symbol);
       
   214     void *visit(external_declaration_c       *symbol);
       
   215     void *visit(global_var_decl_c            *symbol);
       
   216     void *visit(incompl_located_var_decl_c   *symbol);
       
   217     //void *visit(single_byte_string_var_declaration_c *symbol);
       
   218     //void *visit(double_byte_string_var_declaration_c *symbol);
   207 
   219 
   208     /**************************************/
   220     /**************************************/
   209     /* B 1.5 - Program organization units */
   221     /* B 1.5 - Program organization units */
   210     /**************************************/
   222     /**************************************/
   211     /***********************/
   223     /***********************/
   229     void *visit(transition_condition_c *symbol);
   241     void *visit(transition_condition_c *symbol);
   230 
   242 
   231     /********************************/
   243     /********************************/
   232     /* B 1.7 Configuration elements */
   244     /* B 1.7 Configuration elements */
   233     /********************************/
   245     /********************************/
   234     void *visit(configuration_declaration_c *symbol);
   246     void *visit(configuration_declaration_c   *symbol);
       
   247     void *visit(resource_declaration_c        *symbol);
       
   248     void *visit(single_resource_declaration_c *symbol);
       
   249 
   235     /****************************************/
   250     /****************************************/
   236     /* B.2 - Language IL (Instruction List) */
   251     /* B.2 - Language IL (Instruction List) */
   237     /****************************************/
   252     /****************************************/
   238     /***********************************/
   253     /***********************************/
   239     /* B 2.1 Instructions and Operands */
   254     /* B 2.1 Instructions and Operands */