Browse code

tests: Import Graphviz tests.

Jose Fonseca authored on 13/02/2016 23:53:31
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,32 @@
1
+digraph Alf {
2
+size = "6,9";
3
+node [ shape = record ];
4
+Decl [ label = "\n\nDecl|{name|access|decl_flags|extern_c_linkage}"];
5
+Nontype_decl [ label = "Nontype_decl|{type}"];
6
+Defined_decl [ label = "Defined_decl|{linkage}"];
7
+Data_decl [ label = "Data_decl|{storage_class}"];
8
+Function_decl [ label = "Function_decl|{formals|defaults}"];
9
+Data [ label = "Data|{initializer}"];
10
+Function [ label = "Function|{body}"];
11
+Constructor [ label = "Constructor|{member_initializers}"];
12
+Aggregate ->  Type_decl ;
13
+Class -> Aggregate;
14
+Union -> Aggregate;
15
+Data -> Data_decl;
16
+Data -> Defn;
17
+Data_decl -> Defined_decl;
18
+Data_member ->  Nontype_decl ;
19
+Defined_decl -> Nontype_decl;
20
+Defn -> Defined_decl;
21
+Enum ->  Type_decl ;
22
+Enumerator ->  Nontype_decl ;
23
+Function -> Defn;
24
+Function -> Function_decl;
25
+Constructor -> Function;
26
+Destructor -> Function;
27
+Function_decl -> Defined_decl;
28
+Nontype_decl ->  Decl ;
29
+Template_type_arg ->  Type_decl ;
30
+Type_decl ->  Decl ;
31
+Typedef ->  Type_decl ;
32
+}