4741aa72 |
1 | /****************************************************************************** |
2 | * |
3 | * LDC2 source code |
4 | * |
5 | * $Date: 2007/03/26 01:00:39 $ |
6 | * $Author: hachti $ |
7 | * |
8 | * $Log: data_block_5.cpp,v $ |
9 | * Revision 2.0 2007/03/26 01:00:39 hachti |
10 | * *** empty log message *** |
11 | * |
12 | * |
13 | ******************************************************************************/ |
14 | |
798b0c1d |
15 | #include "data_block_5.hh" |
16 | |
17 | /*! |
18 | *\brief Specialisation constructor. |
19 | */ |
20 | data_block_5::data_block_5(data_block & org) |
21 | :data_block(org) |
874a2bd8 |
22 | { |
23 | m_has_known_type=false; |
24 | } |
25 | |
798b0c1d |
26 | |
27 | /*! |
28 | *\brief Describe the block. |
29 | *\return A vector of text lines describing this block. |
30 | */ |
31 | vector<string> data_block_5::get_description(){ |
32 | vector<string> result; |
33 | result.insert(result.end(),extract_label(3)+" "+get_typestring()+"Subroutine call"); |
34 | return result; |
35 | } |
36 | |
874a2bd8 |
37 | /***************************************************************/ |
38 | /*! |
39 | *\brief Get called symbols. |
40 | *\return A vector containing the symbol names exported by this |
41 | * block. |
42 | */ |
43 | vector<string> data_block_5::get_called_symbols(){ |
44 | vector<string> result; |
45 | result.insert(result.end(),extract_label(3)); |
46 | return result; |
47 | } |
48 | |
798b0c1d |
49 | |
50 | |
51 | |