Synopsis - Cross-Reference
File: /tests/Parsers/Cxx/expected/typename.xml1<?xml version='1.0' encoding='ISO-8859-1'?> 2<ast> 3 <declarations> 4 <instance accessibility="0" class="Synopsis.AST.Class" file="Parsers/Cxx/input/typename.cc" language="C++" line="2" name="crc_optimal" type="class"> 5 <template> 6 <instance class="Synopsis.Type.Template" language="C++" name="crc_optimal"> 7 <declaration/> 8 <parameters> 9 <instance class="Synopsis.AST.Parameter" identifier="Bits" value=""> 10 <type> 11 <instance class="Synopsis.Type.Unknown" language="C++" name="std.size_t"> 12 <link> 13 std 14 size_t 15 </link> 16 </instance> 17 </type> 18 </instance> 19 <instance class="Synopsis.AST.Parameter" identifier="TruncPoly" value=""> 20 <type> 21 <instance class="Synopsis.Type.Unknown" language="C++" name="::boost::uint_t::fast"> 22 <link> 23 ::boost::uint_t::fast 24 </link> 25 </instance> 26 </type> 27 </instance> 28 </parameters> 29 </instance> 30 </template> 31 <declarations> 32 <instance accessibility="3" class="Synopsis.AST.Typedef" constr="0" file="Parsers/Cxx/input/typename.cc" language="C++" line="5" name="crc_optimal.masking_type" type="typedef"> 33 <comments> 34 <instance class="Synopsis.AST.Comment" file="Parsers/Cxx/input/typename.cc" line="4" suspect="0"> 35 <text> 36 // Implementation type 37 38 </text> 39 </instance> 40 </comments> 41 <alias> 42 <instance class="Synopsis.Type.Unknown" language="C++" name="detail.mask_uint_t"> 43 <link> 44 detail 45 mask_uint_t 46 </link> 47 </instance> 48 </alias> 49 </instance> 50 <instance accessibility="1" class="Synopsis.AST.Typedef" constr="0" file="Parsers/Cxx/input/typename.cc" language="C++" line="9" name="crc_optimal.value_type" type="typedef"> 51 <comments> 52 <instance class="Synopsis.AST.Comment" file="Parsers/Cxx/input/typename.cc" line="8" suspect="0"> 53 <text> 54 // Type 55 56 </text> 57 </instance> 58 </comments> 59 <alias> 60 <instance class="Synopsis.Type.Unknown" language="C++" name="masking_type.fast"> 61 <link> 62 masking_type 63 fast 64 </link> 65 </instance> 66 </alias> 67 </instance> 68 <instance accessibility="1" class="Synopsis.AST.Variable" constr="0" file="Parsers/Cxx/input/typename.cc" language="C++" line="12" name="crc_optimal.bit_count" type="data member"> 69 <comments> 70 <instance class="Synopsis.AST.Comment" file="Parsers/Cxx/input/typename.cc" line="11" suspect="0"> 71 <text> 72 // Constants for the template parameters 73 74 </text> 75 </instance> 76 </comments> 77 <vtype> 78 <instance class="Synopsis.Type.Modifier" language="C++"> 79 <alias> 80 <instance class="Synopsis.Type.Unknown" language="C++" name="std.size_t"> 81 <link> 82 std 83 size_t 84 </link> 85 </instance> 86 </alias> 87 <premod> 88 const 89 </premod> 90 </instance> 91 </vtype> 92 </instance> 93 <instance accessibility="1" class="Synopsis.AST.Builtin" file="Parsers/Cxx/input/typename.cc" language="C++" line="11" name="EOS" type="EOS"/> 94 </declarations> 95 </instance> 96 </declarations> 97 <types> 98 <instance class="Synopsis.Type.Declared" language="C++" name="EOS"> 99 <declaration/> 100 </instance> 101 <instance class="Synopsis.Type.Declared" language="C++" name="crc_optimal"> 102 <declaration/> 103 </instance> 104 <instance class="Synopsis.Type.Declared" language="C++" name="crc_optimal.bit_count"> 105 <declaration/> 106 </instance> 107 <instance class="Synopsis.Type.Declared" language="C++" name="crc_optimal.masking_type"> 108 <declaration/> 109 </instance> 110 <instance class="Synopsis.Type.Declared" language="C++" name="crc_optimal.value_type"> 111 <declaration/> 112 </instance> 113 </types> 114 <files> 115 <instance class="Synopsis.AST.SourceFile" filename="Parsers/Cxx/input/typename.cc" is_main="1" language="C++"> 116 <declarations/> 117 <macro_calls/> 118 </instance> 119 </files> 120</ast>