Synopsis - Cross-Reference
File: /tests/Parsers/Cxx/expected/func.xml1<?xml version='1.0' encoding='ISO-8859-1'?> 2<ast> 3 <declarations> 4 <instance accessibility="0" class="Synopsis.AST.Function" file="Parsers/Cxx/input/func.cc" language="C++" line="1" name="func(char)" realname="func" type="function"> 5 <parameters> 6 <instance class="Synopsis.AST.Parameter" identifier="" value=""> 7 <type> 8 <instance class="Synopsis.Type.Base" language="C++" name="char"/> 9 </type> 10 </instance> 11 </parameters> 12 <returnType> 13 <instance class="Synopsis.Type.Base" language="C++" name="void"/> 14 </returnType> 15 </instance> 16 <instance accessibility="0" class="Synopsis.AST.Function" file="Parsers/Cxx/input/func.cc" language="C++" line="2" name="func(int)" realname="func" type="function"> 17 <parameters> 18 <instance class="Synopsis.AST.Parameter" identifier="" value=""> 19 <type> 20 <instance class="Synopsis.Type.Base" language="C++" name="int"/> 21 </type> 22 </instance> 23 </parameters> 24 <returnType/> 25 </instance> 26 <instance accessibility="0" class="Synopsis.AST.Function" file="Parsers/Cxx/input/func.cc" language="C++" line="3" name="func(double)" realname="func" type="function"> 27 <parameters> 28 <instance class="Synopsis.AST.Parameter" identifier="" value=""> 29 <type> 30 <instance class="Synopsis.Type.Base" language="C++" name="double"/> 31 </type> 32 </instance> 33 </parameters> 34 <returnType/> 35 </instance> 36 <instance accessibility="0" class="Synopsis.AST.Function" file="Parsers/Cxx/input/func.cc" language="C++" line="4" name="func(const char*)" realname="func" type="function"> 37 <parameters> 38 <instance class="Synopsis.AST.Parameter" identifier="" value=""> 39 <type> 40 <instance class="Synopsis.Type.Modifier" language="C++"> 41 <alias/> 42 <postmod> 43 * 44 </postmod> 45 <premod> 46 const 47 </premod> 48 </instance> 49 </type> 50 </instance> 51 </parameters> 52 <returnType/> 53 </instance> 54 <instance accessibility="0" class="Synopsis.AST.Function" file="Parsers/Cxx/input/func.cc" language="C++" line="6" name="test()" realname="test" type="function"> 55 <returnType/> 56 </instance> 57 </declarations> 58 <types> 59 <instance class="Synopsis.Type.Declared" language="C++" name="func(char)"> 60 <declaration/> 61 </instance> 62 <instance class="Synopsis.Type.Declared" language="C++" name="func(const char*)"> 63 <declaration/> 64 </instance> 65 <instance class="Synopsis.Type.Declared" language="C++" name="func(double)"> 66 <declaration/> 67 </instance> 68 <instance class="Synopsis.Type.Declared" language="C++" name="func(int)"> 69 <declaration/> 70 </instance> 71 <instance class="Synopsis.Type.Declared" language="C++" name="test()"> 72 <declaration/> 73 </instance> 74 </types> 75 <files> 76 <instance class="Synopsis.AST.SourceFile" filename="Parsers/Cxx/input/func.cc" is_main="1" language="C++"> 77 <declarations/> 78 <macro_calls/> 79 </instance> 80 </files> 81</ast>