public void Prepare(AttrTree tree) { Grammars.Clear(); foreach (AttrTree g in tree) { Grammars.Add(g.Node, g); } foreach (AttrTree g in tree) { ScanLexicon(g); } }
public void Prepare(AttrTree tree) { Grammars.Clear(); foreach (AttrTree g in tree) { Grammars.Add(g.Node, g); } foreach (AttrTree g in tree) { ScanLexicon(g); } }