typename fix
[prop.git] / prop-src / graphreport.cc
blob0ee86a4034848605f72e7bb797dfe534114f7dc1
1 ///////////////////////////////////////////////////////////////////////////////
2 // This file is generated automatically using Prop (version 2.3.6),
3 // last updated on Nov 2, 1999.
4 // The original source file is "graphreport.pcc".
5 ///////////////////////////////////////////////////////////////////////////////
7 #line 1 "graphreport.pcc"
8 ///////////////////////////////////////////////////////////////////////////////
9 //
10 // This file generates a readable report of the graph type representation.
12 ///////////////////////////////////////////////////////////////////////////////
13 #include <iostream>
14 #include "graphtype.h"
15 #include "graphedges.h"
17 ///////////////////////////////////////////////////////////////////////////////
19 // Print a report on a graph type definition
21 ///////////////////////////////////////////////////////////////////////////////
22 void GraphTypeDef::print_report(CodeGen& f)
23 { for_each(NodeDef *, n, node_defs)
24 n->print_report(f);
25 for_each(EdgeDef *, e, edge_defs)
26 e->print_report(f);
29 ///////////////////////////////////////////////////////////////////////////////
31 // Describe the node
33 ///////////////////////////////////////////////////////////////////////////////
34 void NodeDef::print_report(CodeGen& f)
38 ///////////////////////////////////////////////////////////////////////////////
40 // Describe the edge
42 ///////////////////////////////////////////////////////////////////////////////
43 void EdgeDef::print_report(CodeGen& f)
47 void MapEdge::print_report(CodeGen& f)
48 { Super::print_report(f);
51 void MultiMapEdge::print_report(CodeGen& f)
52 { Super::print_report(f);
55 void BijectionEdge::print_report(CodeGen& f)
56 { Super::print_report(f);
59 void EquivRelationEdge::print_report(CodeGen& f)
60 { Super::print_report(f);
62 #line 55 "graphreport.pcc"
64 ------------------------------- Statistics -------------------------------
65 Merge matching rules = yes
66 Number of DFA nodes merged = 0
67 Number of ifs generated = 0
68 Number of switches generated = 0
69 Number of labels = 0
70 Number of gotos = 0
71 Adaptive matching = enabled
72 Fast string matching = disabled
73 Inline downcasts = enabled
74 --------------------------------------------------------------------------