public static Build ( string name, |
||
name | string | |
prototype | ||
Результат |
public void Build(Dictionary<string,NSPrototype> prototypes) { foreach (KeyValuePair<string,NSPrototype> kvp in prototypes) { var ns = new STNamespace(kvp.Key, FullName + "." + kvp.Key); ns.Build (kvp.Value.Entries); Map[STSymbol.Get(kvp.Key)] = ns; } }
public static STNamespace Build(string name, NSPrototype prototype) { var ns = new STNamespace(name, name); ns.Build (prototype.Entries); return ns; }