370 string_type_declaration_size, |
370 string_type_declaration_size, |
371 string_type_declaration_init) // may be == NULL! |
371 string_type_declaration_init) // may be == NULL! |
372 */ |
372 */ |
373 void *search_base_type_c::visit(string_type_declaration_c *symbol) {return (void *)symbol;} |
373 void *search_base_type_c::visit(string_type_declaration_c *symbol) {return (void *)symbol;} |
374 |
374 |
375 |
375 |
|
376 /******************************************/ |
|
377 /* B 1.4.3 - Declaration & Initialisation */ |
|
378 /******************************************/ |
|
379 /* fb_name_list ':' function_block_type_name ASSIGN structure_initialization */ |
|
380 /* structure_initialization -> may be NULL ! */ |
|
381 // SYM_REF3(fb_name_decl_c, fb_name_list, function_block_type_name, structure_initialization) |
|
382 // NOTE: Although the fb_name_decl_c is in section ( B 1.4.3 - Declaration & Initialisation), it is also acting |
|
383 // as a datatype declaration, so we need to handle it here! |
|
384 void *search_base_type_c::visit(fb_name_decl_c *symbol) { |
|
385 return symbol->function_block_type_name->accept(*this); |
|
386 } |
|
387 |
376 |
388 |
377 /*****************************/ |
389 /*****************************/ |
378 /* B 1.5.2 - Function Blocks */ |
390 /* B 1.5.2 - Function Blocks */ |
379 /*****************************/ |
391 /*****************************/ |
380 /* FUNCTION_BLOCK derived_function_block_name io_OR_other_var_declarations function_block_body END_FUNCTION_BLOCK */ |
392 /* FUNCTION_BLOCK derived_function_block_name io_OR_other_var_declarations function_block_body END_FUNCTION_BLOCK */ |