void ArcSetSpec()
{
List<string> src = new List<string>();
List<string> dst = new List<string>();
Debug.Assert(Builder != null);
bool isInArc = true;
int weight = 1;
bool isInhibitor = false;
if (la.kind == 2 || la.kind == 12) {
SrcName(ref src);
while (la.kind == 5 || la.kind == 7) {
ArcDetail(ref isInArc, ref weight, ref isInhibitor);
DstName(ref dst);
List<string> t = isInArc ? dst : src;
List<string> p = isInArc ? src : dst;
Builder.GenerateArc(p,t,weight,isInhibitor, isInArc);
}
Expect(11);
} else if (la.kind == 2 || la.kind == 12) {
while (la.kind == 2 || la.kind == 12) {
SrcName(ref src);
ArcDetail(ref isInArc, ref weight, ref isInhibitor);
}
DstName(ref dst);
List<string> t = isInArc ? dst : src;
List<string> p = isInArc ? src : dst;
Builder.GenerateArc(p,t,weight,isInhibitor, isInArc);
Expect(11);
} else SynErr(19);
}