Synopsis - Cross-Reference

File: /tests/Parsers/Cxx/expected/const.xml
 1<?xml version='1.0' encoding='ISO-8859-1'?>
 2<ast>
 3 <declarations>
 4  <instance accessibility="0" class="Synopsis.AST.Class" file="Parsers/Cxx/input/const.cc" language="C++" line="1" name="Foo" type="struct">
 5   <declarations>
 6    <instance accessibility="1" class="Synopsis.AST.Operation" file="Parsers/Cxx/input/const.cc" language="C++" line="3" name="Foo.foo(int)" realname="foo" type="member function">
 7     <parameters>
 8      <instance class="Synopsis.AST.Parameter" identifier="param" value="">
 9       <type>
10        <instance class="Synopsis.Type.Base" language="C++" name="int"/>
11       </type>
12      </instance>
13     </parameters>
14     <returnType>
15      <instance class="Synopsis.Type.Base" language="C++" name="void"/>
16     </returnType>
17    </instance>
18    <instance accessibility="1" class="Synopsis.AST.Operation" file="Parsers/Cxx/input/const.cc" language="C++" line="4" name="Foo.foo(int)const" realname="foo" type="member function">
19     <parameters>
20      <instance class="Synopsis.AST.Parameter" identifier="param" value="">
21       <type/>
22      </instance>
23     </parameters>
24     <postmodifier>
25      const
26     </postmodifier>
27     <returnType/>
28    </instance>
29    <instance accessibility="1" class="Synopsis.AST.Builtin" file="Parsers/Cxx/input/const.cc" language="C++" line="4" name="EOS" type="EOS"/>
30   </declarations>
31  </instance>
32 </declarations>
33 <types>
34  <instance class="Synopsis.Type.Declared" language="C++" name="EOS">
35   <declaration/>
36  </instance>
37  <instance class="Synopsis.Type.Declared" language="C++" name="Foo">
38   <declaration/>
39  </instance>
40  <instance class="Synopsis.Type.Declared" language="C++" name="Foo.foo(int)">
41   <declaration/>
42  </instance>
43  <instance class="Synopsis.Type.Declared" language="C++" name="Foo.foo(int)const">
44   <declaration/>
45  </instance>
46 </types>
47 <files>
48  <instance class="Synopsis.AST.SourceFile" filename="Parsers/Cxx/input/const.cc" is_main="1" language="C++">
49   <declarations/>
50   <macro_calls/>
51  </instance>
52 </files>
53</ast>