Synopsis - Cross-Reference

File: /tests/Parsers/Cxx/expected/comments.xml
 1<?xml version='1.0' encoding='ISO-8859-1'?>
 2<ast>
 3 <declarations>
 4  <instance accessibility="0" class="Synopsis.AST.Builtin" file="Parsers/Cxx/input/comments.cc" language="C++" line="1" name="EOS" type="EOS">
 5   <comments>
 6    <instance class="Synopsis.AST.Comment" file="Parsers/Cxx/input/comments.cc" line="1" suspect="1">
 7     <text>
 8      // 1. Comments Test: One line cpp test
 9
10     </text>
11    </instance>
12    <instance class="Synopsis.AST.Comment" file="Parsers/Cxx/input/comments.cc" line="3" suspect="1">
13     <text>
14      // 2. Two line cpp test
15// Second line of test
16
17     </text>
18    </instance>
19    <instance class="Synopsis.AST.Comment" file="Parsers/Cxx/input/comments.cc" line="6" suspect="1">
20     <text>
21      /* 3. One line c test */
22
23     </text>
24    </instance>
25    <instance class="Synopsis.AST.Comment" file="Parsers/Cxx/input/comments.cc" line="7" suspect="1">
26     <text>
27      /* 4. Another c test */
28
29     </text>
30    </instance>
31    <instance class="Synopsis.AST.Comment" file="Parsers/Cxx/input/comments.cc" line="8" suspect="0">
32     <text>
33      /* 5. Two on one */
34
35     </text>
36    </instance>
37    <instance class="Synopsis.AST.Comment" file="Parsers/Cxx/input/comments.cc" line="8" suspect="1">
38     <text>
39      /* 6. line */
40
41     </text>
42    </instance>
43    <instance class="Synopsis.AST.Comment" file="Parsers/Cxx/input/comments.cc" line="9" suspect="1">
44     <text>
45      /* 7. Multi
46 * line
47 */
48
49     </text>
50    </instance>
51   </comments>
52  </instance>
53 </declarations>
54 <types>
55  <instance class="Synopsis.Type.Declared" language="C++" name="EOS">
56   <declaration/>
57  </instance>
58 </types>
59 <files>
60  <instance class="Synopsis.AST.SourceFile" filename="Parsers/Cxx/input/comments.cc" is_main="1" language="C++">
61   <declarations/>
62   <macro_calls/>
63  </instance>
64 </files>
65</ast>