| 55 | } |
| 56 | |
| 57 | std::string array_dims(AST_Type* type, ACE_CDR::ULong& elems) |
| 58 | { |
| 59 | AST_Array* const arr = dynamic_cast<AST_Array*>(type); |
| 60 | std::string ret = array_zero_indices(arr); |
| 61 | elems *= array_element_count(arr); |
| 62 | AST_Type* base = resolveActualType(arr->base_type()); |
| 63 | if (dynamic_cast<AST_Array*>(base)) { |
| 64 | ret += "[0]" + array_dims(base, elems); |
| 65 | } |
| 66 | return ret; |
| 67 | } |
| 68 | |
| 69 | void gen_typecode(UTL_ScopedName* name) |
| 70 | { |
no test coverage detected