Home | History | Annotate | Download | only in grxmlcompile

Lines Matching refs:subg

86 void Graph::BeginRule (SubGraph *subg)
88 subg->BeginScope (SCOPE_RULE, 0, 0);
90 subg->DebugPrintDirective ("<ruleref>");
95 void Graph::EndRule (SubGraph *subg)
98 subg->DebugPrintDirective ("</ruleref>");
100 subg->EndScope();
104 void Graph::BeginItem (SubGraph *subg)
106 subg->BeginScope (SCOPE_ITEM, 0, 0);
108 subg->DebugPrintDirective ("<item>");
113 void Graph::BeginItemRepeat (SubGraph *subg, int minCount, int maxCount)
115 subg->BeginScope (SCOPE_REPEAT, minCount, maxCount);
117 subg->DebugPrintDirective ("<item repeat>");
122 void Graph::AddRuleRef (SubGraph *subg, int ruleNo)
124 subg->AddItem (-ruleNo, ruleNo);
126 subg->DebugPrintDirective ("<add ruleref>");
132 void Graph::AddLabel (SubGraph *subg, int labNo)
134 subg->AddItem (labNo, -1);
136 subg->DebugPrintLabel (labNo);
141 void Graph::AddTag (SubGraph *subg, int tagNo)
143 subg->AddTag (tagNo);
145 subg->DebugPrintLabel (tagNo);
150 void Graph::EndItem (SubGraph *subg)
153 subg->DebugPrintDirective ("</item>");
155 subg->EndScope();
159 void Graph::BeginOneOf (SubGraph *subg)
161 subg->BeginScope (SCOPE_ONEOF, 0, 0);
163 subg->DebugPrintDirective ("<one-of>");
168 void Graph::EndOneOf (SubGraph *subg)
171 subg->DebugPrintDirective ("</one-of>");
173 subg->EndScope ();
177 void Graph::BeginCount (SubGraph *subg, int minCount, int maxCount)
179 subg->BeginScope (SCOPE_COUNT, minCount, maxCount);
181 subg->DebugPrintDirective ("<count>");
186 void Graph::EndCount (SubGraph *subg)
189 subg->DebugPrintDirective ("</count>");
191 subg->EndScope();
195 void Graph::BeginOptional (SubGraph *subg)
197 subg->BeginScope (SCOPE_OPT, 0, 0);
199 subg->DebugPrintDirective ("<item repeat= 0- >");
204 void Graph::ExpandRules (SubGraph *subg)
206 subg->ExpandRules (subGraph, subIndex, numSubGraph);